Skip to content

Commit fb934e0

Browse files
committed
Change port and do make clean build
1 parent 006921a commit fb934e0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

webpack.dev.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = merge(common, {
1313
contentBase: path.join(__dirname, 'docs/build/html'),
1414
watchContentBase: true,
1515
compress: false,
16-
port: 7070,
16+
port: 1919,
1717
hot: false,
1818
liveReload: true,
1919
publicPath: '/_static/'
@@ -26,7 +26,9 @@ module.exports = merge(common, {
2626
]
2727
}),
2828
new ShellPlugin({
29-
onBuildEnd: ['make -C docs html'],
29+
onBuildEnd: ['make -C docs clean html'],
30+
// dev=false here to force every build to trigger make, the default is
31+
// first build only.
3032
dev: false,
3133
}),
3234
]

0 commit comments

Comments
 (0)