解决是解决了,具体原因不明,可能是webstorm在识别webpack-dev-server时设置了ide缓存 打开webstorm的设置界面(ctrl+alt+s) 选择外观行为 -> 系统设置 -> 取消safe write勾选