Open Atulin opened 3 years ago
Activity
Activity
Activity
also curious about this :)
The BrowserSync plugin can watch the folder and reload the website if any of the files, including theme files, have changed.
This may be related to the template engine used by the theme. Some engines have a "compile" process and the compiled cache may not be refreshed after a file change
Check List
Please check followings before submitting a new issue.
hexo version
to check)Question
I'm developing a theme for my blog, and I cannot find any way for the changes to be automatically reflected. I thought that
hexo server
would take care of it, but it seems to only rebuild on changes to markdown posts, not changes to themes.What is the recommended way to work on a theme? Setting up some sort of a Gulp pipeline that would watch for changes and call
hexo serve
when it detects them?Environment & Settings
Node.js & npm version
Hexo and Plugin version(
npm ls --depth 0
)Your package.json
package.json