vue project update operation heat given log.error ( '[WDS] Errors while compiling Reload prevented..');

log.error ( '. [WDS] Errors while compiling Reload prevented.'); WDS in fact webpack-dev-serverwebpack means for automatic refresh. But you frequently refresh Vue assembly, if not installed Webpack, although the page can be normal, but it will be an error in the console every time you refresh. The solution: install in the development directory Webpack, command npm install webpack-dev-server --save-dev can be, will find in node_modules / bin after installation is complete. Reopen the project at this time, the command is: npm run dev, you can solve the problem of hot update error.

Guess you like

Origin blog.csdn.net/weixin_41766191/article/details/92394726