Skip to content

Commit

Permalink
docs(Configuration): Update path to invalidate (#6324)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzej-erli authored Aug 12, 2022
1 parent 1b51d39 commit 54a882f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/configuration/dev-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ W> Be aware that when [exporting multiple configurations](/configuration/configu

T> If you're having trouble, navigating to the `/webpack-dev-server` route will show where files are served. For example, `http://localhost:9000/webpack-dev-server`.

T> If you want to manually recompile the bundle, navigating to the `/invalidate` route will [invalidate](/api/node/#invalidate-watching) the current compilation of the bundle and recompile it for you via [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware#invalidate). Depending on your configuration, the URL may look like `http://localhost:9000/invalidate`.
T> If you want to manually recompile the bundle, navigating to the `/webpack-dev-server/invalidate` route will [invalidate](/api/node/#invalidate-watching) the current compilation of the bundle and recompile it for you via [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware#invalidate). Depending on your configuration, the URL may look like `http://localhost:9000/webpack-dev-server/invalidate`.

T> HTML template is required to serve the bundle, usually, it is an `index.html` file. Make sure that script references are added into HTML, webpack-dev-server doesn't inject them automatically.

Expand Down

1 comment on commit 54a882f

@vercel
Copy link

@vercel vercel bot commented on 54a882f Aug 12, 2022

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.