Skip to content

Commit

Permalink
docs(guides): Update hot-module-replacement.md (#4838)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl von Buelow committed Apr 11, 2021
1 parent 3e1f784 commit a71f969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/guides/hot-module-replacement.md
Expand Up @@ -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.

Expand Down

1 comment on commit a71f969

@vercel
Copy link

@vercel vercel bot commented on a71f969 Apr 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.