From f56320499fc7bcdc1e53d1873bd6a9b7c09dc15a Mon Sep 17 00:00:00 2001 From: Carl von Buelow Date: Fri, 9 Apr 2021 17:55:44 -0400 Subject: [PATCH] Update hot-module-replacement.md --- src/content/guides/hot-module-replacement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.