docs(*): npm run both -> npm run go

closes #489
This commit is contained in:
Ward Bell 2015-12-13 12:36:37 -08:00
parent b2b4d3b8c9
commit dc1c054927
4 changed files with 11 additions and 11 deletions

View File

@ -9,7 +9,7 @@
"lite": "lite-server",
"live": "live-server",
"start": "npm run lite",
"both": "concurrent \"npm run tsc:w\" \"npm run start\" ",
"go": "concurrent \"npm run tsc:w\" \"npm run start\" ",
"test": "karma start karma.conf.js",
"build-and-test": "npm run tsc && npm run test"
},

View File

@ -5,7 +5,7 @@
"tsc": "tsc",
"tsc:w": "tsc -w",
"lite": "lite-server",
"both": "concurrent \"npm run tsc:w\" \"npm run lite\" "
"go": "concurrent \"npm run tsc:w\" \"npm run lite\" "
},
"license": "ISC",
"dependencies": {

View File

@ -77,7 +77,7 @@ figure.image-display
We're ready to see changes in a running app by firing up the npm script that both compiles and serves our applications
while watching for changes.
code-example(format="").
npm run both
npm run go
:marked
We should see the title and hero name:
figure.image-display

View File

@ -259,7 +259,7 @@ code-example(format="").
Open a terminal window and enter this command:
code-example(format="").
npm run both
npm run go
:marked
That command runs two parallel node processes
1. The TypeScript compiler in watch mode
@ -374,7 +374,7 @@ code-example(format="").
:marked
We've seen how we can run the compiler and a server at the same time with this command:
code-example(format="").
npm run both
npm run go
:marked
We execute npm scripts in that manner: `npm run` + *script-name*. Here's what these scripts do: