mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
update watch config
This commit is contained in:
parent
f5835eec78
commit
6340b875b5
@ -44,7 +44,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm run clean && webpack && nico build",
|
||||
"start": "npm run clean && concurrent -r 'webpack -w --watch-aggregate-timeout 0' 'nico server --watch'",
|
||||
"start": "npm run clean && concurrent -r 'webpack -w' 'nico server --watch'",
|
||||
"clean": "rm -rf _site",
|
||||
"deploy": "npm run build && gh-pages -d _site -b gh-pages",
|
||||
"lint": "eslint components index.js --ext '.js,.jsx'",
|
||||
|
@ -43,7 +43,8 @@ module.exports = {
|
||||
},
|
||||
|
||||
plugins: [
|
||||
new ExtractTextPlugin('[name].css')
|
||||
new ExtractTextPlugin('[name].css'),
|
||||
new webpack.NewWatchingPlugin()
|
||||
],
|
||||
|
||||
devtool: '#source-map'
|
||||
|
Loading…
Reference in New Issue
Block a user