node.js - nodemon可以实现修改js代码自动刷新,为什么修改页面文件不能刷新
ringa_lee
ringa_lee 2017-04-17 15:07:16
0
1
700

nodemon可以实现修改js代码自动刷新,为什么修改页面文件不能刷新
如题,有没有一个可以监控页面的库呢

ringa_lee
ringa_lee

ringa_lee

reply all(1)
阿神

Nodemon itself is used for background js script monitoring. Is the page you are talking about a front-end script or a template file?
Command line parameters can be specified to monitor other extensions: nodemon -e js,jade index.js
For details, please refer to the official documentation:
https://github.com/remy/nodemon

If you are using webpack to package React, AngularJS, Vue.js, etc., you can use webpack-dev-server. The principle is

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template