diff --git a/src/content/guides/hot-module-replacement.md b/src/content/guides/hot-module-replacement.md index dd21f89809d9..aba91f2587ae 100644 --- a/src/content/guides/hot-module-replacement.md +++ b/src/content/guides/hot-module-replacement.md @@ -69,7 +69,7 @@ T> If you took the route of using `webpack-dev-middleware` instead of `webpack-d }; ``` -T> You can use the CLI to modify the [webpack-dev-server](https://github.com/webpack/webpack-dev-server) configuration with the following command: `webpack serve --hot=only`. +T> You can use the CLI to modify the [webpack-dev-server](https://github.com/webpack/webpack-dev-server) configuration with the following command: `webpack serve --hot-only`. Now let's update the `index.js` file so that when a change inside `print.js` is detected we tell webpack to accept the updated module.