webpack-dev-server --inline --progress --config build/webpack.dev.conf.js
时间: 2023-10-02 10:09:21 浏览: 152
webpack.DefinePlugin与cross-env区别详解
5星 · 资源好评率100%
This command starts the webpack-dev-server with the specified configuration file (build/webpack.dev.conf.js) and enables the inline mode and progress feedback.
The inline mode means that the webpack-dev-server will automatically inject the necessary client-side code into the HTML page so that it can communicate with the server and receive updates as soon as the code changes.
The progress option displays a progress bar in the console that shows the current status of the compilation process.
Overall, this command is used to start a development server that will automatically rebuild and refresh the page whenever there are changes made to the code.
阅读全文