Skip to content

Commit

Permalink
chore: use raw syntax to run serve concurrently
Browse files Browse the repository at this point in the history
  • Loading branch information
lbwa committed Mar 8, 2020
1 parent 1ef4dbe commit a5d7eb2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ Please make sure you have installed [node.js](https://nodejs.org) version _8.9_
- start development server

```bash
$ npm run serve
$ npm run start
```

Development server is running at `http://localhost:8080` and `http://<YOUR_LOCAL_NETWORK_IP>:8080` with `hot module replacement`.
Frontend server is running at `http://localhost:8080` and `http://<YOUR_LOCAL_NETWORK_IP>:8080` with `hot module replacement`.

Mock server is running at `http://localhost:3000`.

- run unit tests

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"version": "0.1.0",
"private": true,
"scripts": {
"start": "concurrently \"npm run serve\" \"npm run serve:mock\"",
"start": "concurrently -k -r \"npm run serve\" \"npm run serve:mock\"",
"start:progress": "concurrently -k -p \"[{name}]\" -n \"Frontend,Node\" -c \"yellow.bold,cyan.bold\" \"npm run serve\" \"npm run serve:mock\"",
"serve": "vue-cli-service serve",
"serve:mock": "cd server && npm run start:dev",
"build": "vue-cli-service build",
Expand Down Expand Up @@ -91,4 +92,4 @@
"jest": {
"preset": "@vue/cli-plugin-unit-jest/presets/typescript-and-babel"
}
}
}

0 comments on commit a5d7eb2

Please sign in to comment.