From 54a882f1fd6b884c523fbf22702c40d4eb26f171 Mon Sep 17 00:00:00 2001 From: andrzej-erli <87298723+andrzej-erli@users.noreply.github.com> Date: Fri, 12 Aug 2022 06:52:26 +0200 Subject: [PATCH] docs(Configuration): Update path to invalidate (#6324) --- src/content/configuration/dev-server.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/configuration/dev-server.mdx b/src/content/configuration/dev-server.mdx index 007e001f9f63..09fa7e880383 100644 --- a/src/content/configuration/dev-server.mdx +++ b/src/content/configuration/dev-server.mdx @@ -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.