Run debug server on another port
That way it won't conflict with other services I normally run
This commit is contained in:
parent
72758a0921
commit
7a3cfa95cd
|
@ -67,7 +67,7 @@ gulp.task("build:webpack", ['clean'], function(callback) {
|
||||||
|
|
||||||
gulp.task("webpack-dev-server", function(callback) {
|
gulp.task("webpack-dev-server", function(callback) {
|
||||||
var host = process.env.HOST || "localhost";
|
var host = process.env.HOST || "localhost";
|
||||||
var port = parseInt(process.env.PORT, 10) || 8080;
|
var port = parseInt(process.env.PORT, 10) || 8081;
|
||||||
var config = Object.create(webpackConfig);
|
var config = Object.create(webpackConfig);
|
||||||
config.devtool = "eval";
|
config.devtool = "eval";
|
||||||
config.debug = true;
|
config.debug = true;
|
||||||
|
|
Loading…
Reference in New Issue