Skip to content

Commit 091d351

Browse files
authoredOct 13, 2020
Update webpack-dev-server.md docs (#2712)
The dev_server parts now only apply when running the webpack-dev-server.
1 parent ae46095 commit 091d351

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
 

‎docs/webpack-dev-server.md‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ in your console, simply open the link in your browser and accept the SSL excepti
1414
Now if you refresh your Rails view everything should work as expected.
1515

1616

17-
## HOT module replacement
17+
## Hot Module Replacement
1818

1919
Webpacker out-of-the-box supports HMR with `webpack-dev-server` and
2020
you can toggle it by setting options in `config/webpacker.yml`:
@@ -38,10 +38,6 @@ Check out this guide for more information:
3838

3939
To support HMR with React, see [docs/react.md](./react.md#hmr-and-react-hot-reloading).
4040

41-
**Note:** Don't forget to disable `HMR` if you are not running `webpack-dev-server`
42-
otherwise you will get not found error for stylesheets.
43-
44-
4541
## Nginx
4642

4743
If you use Nginx in development to proxy requests to your Rails server from

0 commit comments

Comments
 (0)
Please sign in to comment.