Commit 53abca4c authored by dev0tion's avatar dev0tion

Add concurrently to the start command

parent 7c7bfefc
......@@ -33,6 +33,9 @@ npm install -g @angular/cli
## To build for development
- **in a terminal window** -> npm start
If you want to seperate the build process from the Electron process you can use:
- **in a terminal window** -> npm start:webpack
- **in another terminal window** -> npm run electron:serve
## To build for production
......
......@@ -20,7 +20,8 @@
"scripts": {
"ng": "ng",
"lint": "ng lint",
"start": "webpack --watch",
"start": "concurrently \"npm run start:webpack\" \"npm run electron:serve\"",
"start:webpack": "webpack --watch",
"start:web": "webpack-dev-server --content-base . --port 4200 --inline",
"build:electron:main": "tsc main.ts --outDir dist && copyfiles package.json dist && cd dist && npm install --prod && cd ..",
"build": "webpack --display-error-details && npm run build:electron:main",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment