在Webstorm中, 使用了”safe write”来保存文件, webpack检查文件改变就无法获得.

所以,到settings中搜索safe write, “Appearance & Behavior” -> “System Settings” 中 取消 safe write即可.