Skip to content

Commit

Permalink
Dropping the webpack dev server in favour of two watch commands.
Browse files Browse the repository at this point in the history
This has the downside that the nwjs instance doesn't automatically
reload when changes are made, but we can use the same file (index.html)
instead of two different ones.
  • Loading branch information
lakinwecker committed Jun 12, 2017
1 parent e813efc commit 6484fb2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
]
},
"scripts": {
"watch": "tsc --watch",
"watch": "concurrently --kill-others \"npm run watchjs\" \"npm run watchcss\"",
"watchjs": "webpack --watch",
"watchcss": "scss -I node_modules/bulma/ --watch sass/app.scss:public/delila.css",
"build": "NODE_ENV=production webpack",
"dev": "webpack-dev-server --progress --colors --inline --hot --no-info --content-base public/",
"test": "standardts && jest",
"testnocache": "standardts && jest",
"dist": "build --tasks win-x86,win-x64,linux-x86,linux-x64,mac-x64 --mirror https://dl.nwjs.io/ .",
Expand All @@ -50,6 +50,7 @@
"babel-loader": "^6.4.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2016": "^6.24.1",
"concurrently": "^3.4.0",
"css-loader": "^0.27.2",
"extract-text-webpack-plugin": "^2.1.0",
"jest": "^19.0.2",
Expand All @@ -62,8 +63,7 @@
"ts-jest": "^19.0.0",
"ts-loader": "^2.1.0",
"typescript": "^2.3.4",
"webpack": "^2.6.1",
"webpack-dev-server": "^2.4.5"
"webpack": "^2.6.1"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 6484fb2

Please sign in to comment.