标签:
Note that many editors support “safe write” feature and have it enabled by default, which makes dev server unable to watch files correctly. “Safe write” means changes are not written directly to original file but to temporary one instead, which is renamed and replaces original file when save operation is completed successfully. This behaviour causes file watcher to lose the track because the original file is removed. In order to prevent this issue, you have to disable “safe write” feature in your editor.
Link: http://webpack.github.io/docs/webpack-dev-server.html#hot-mode
[WebStrom] Cannot detect file change to trigger webpack re-compile
标签:
原文地址:http://www.cnblogs.com/Answer1215/p/5297080.html