[WebStrom] Cannot detect file change to trigger webpack re-compile

Posted Answer1215

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[WebStrom] Cannot detect file change to trigger webpack re-compile相关的知识,希望对你有一定的参考价值。

Working with editors/IDEs supporting “safe write”

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.

  • VIM - set “:set backupcopy=yes” (see documentation)
  • IntelliJ - Settings -> System Settings -> Synchronization -> disable “safe write” (may differ in various IntelliJ IDEs, but you can still use the search feature)

Link: http://webpack.github.io/docs/webpack-dev-server.html#hot-mode

以上是关于[WebStrom] Cannot detect file change to trigger webpack re-compile的主要内容,如果未能解决你的问题,请参考以下文章

maven项目创建——异常:Cannot detect Web Project version

a biped was detected but cannot be configured properly (Bipe导入Unity 无法正确识别)

解决maven web项目Cannot detect Web Project version. Please specify version of Web Project through...的错误

ParserError: NULL byte detected. This byte cannot be processed in Python‘s native csv library(

前端自动化之webstrom

Webstrom安装+激活