From a71f9690a28957a1664539c6c306db04e22d5977 Mon Sep 17 00:00:00 2001 From: Carl von Buelow Date: Sun, 11 Apr 2021 02:00:52 -0400 Subject: [PATCH] docs(guides): Update hot-module-replacement.md (#4838) --- 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.