Angular 2: Difference between revisions

Jump to navigation Jump to search
Line 1: Line 1:
= npm lite-server related =
= running the app (via npm) =
 
Compile just once. This executable binary is founder under <span class="shell">./npm_modules/.bin/</span> folder.
 
<source lang="bash">
$ tsc
</source>
 
If <code>tsc</code> is not directly available. It can also be run this way: <code>npm run tsc</code>.
 
If you want the server to watch for changes and compile on change (aka transpile) you can run the following command:
 
<source lang="bash">
$ npm run tsc:w
</source>


== turn off connection logging ==
== turn off connection logging ==

Navigation menu