npm start on WordPress Theme With Flynt, the file watcher is not working for js file change - Stack Overflow

I am developing the custom wordpress theme by using I run 'npm start' to start the file wat

I am developing the custom wordpress theme by using / I run 'npm start' to start the file watcher. but the hot-realoading is working only for changes of php, twig and scss. 'npm start' is not detecting the js changes. my os is windows 10.

currently I am using the following command "serve": "vite dev", "watch": "vite build -w",

so npm run serve and npm run watch.

npm run watch is detecting the js changes and working the re-compile. but still hot reloading is not working on my win10.

why npm start is not working fully?

this is flynt git :

looking forward to hearing from you.

Regards

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744262356a4565697.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信