...
|
...
|
@@ -167,16 +167,16 @@ gulp.task('webpack-dev-server', () => { |
|
|
|
|
|
new WebpackDevServer(webpack(devConfig), {
|
|
|
contentBase: '.',
|
|
|
publicPath: '//localhost:8000/',
|
|
|
publicPath: '//localhost:5000',
|
|
|
hot: true,
|
|
|
stats: {
|
|
|
colors: true
|
|
|
}
|
|
|
}).listen(8000, 'localhost', (err) => {
|
|
|
}).listen(5000, 'localhost', (err) => {
|
|
|
if (err) {
|
|
|
throw new gutil.PluginError('webpack-dev-server', err);
|
|
|
}
|
|
|
gutil.log('[webpack-serve]', 'http://localhost:8000/');
|
|
|
gutil.log('[webpack-serve]', 'http://localhost:5000/');
|
|
|
});
|
|
|
});
|
|
|
|
...
|
...
|
|