Skip to content

Commit b5d09ed

Browse files
committed
Change the dev server port to avoid conflicts
Just because I use this port all the time
1 parent 0f0747f commit b5d09ed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ To run a server with hot module replacement:
150150
$ npm run dev-server
151151
```
152152

153-
Open [http://localhost:8080](http://localhost:8080). You can now modify the files in both `src` and `demo/src`.
153+
Open [http://localhost:8082](http://localhost:8082). You can now modify the files in both `src` and `demo/src`.
154154

155155
## Thank You
156156

demo/server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ config.plugins.splice(1, 2);
1414

1515
// Add Hot Loader server entry points.
1616
config.entry.app.unshift(
17-
'webpack-dev-server/client?http://localhost:8080',
17+
'webpack-dev-server/client?http://localhost:8082',
1818
'webpack/hot/dev-server'
1919
);
2020

@@ -29,4 +29,4 @@ server = new webpackDevServer(compiler, {
2929
publicPath: config.output.publicPath,
3030
hot: true
3131
});
32-
server.listen(8080);
32+
server.listen(8082);

0 commit comments

Comments
 (0)