added doc to scripts

This commit is contained in:
lotte
2020-05-25 13:45:11 +02:00
committed by Art Lowel
parent f881c2f428
commit a9cb6aeaa6
2 changed files with 74 additions and 5 deletions

View File

@@ -2,6 +2,9 @@ import { environment } from '../src/environments/environment';
import * as child from 'child_process';
/**
* Calls `ng serve` with the following arguments configured for the UI in the environment file: host, port, nameSpace, ssl
*/
child.spawn(
`ng serve --host ${environment.ui.host} --port ${environment.ui.port} --servePath ${environment.ui.nameSpace} --ssl ${environment.ui.ssl}`,
{ stdio:'inherit', shell: true }