mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
12 lines
429 B
TypeScript
12 lines
429 B
TypeScript
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 }
|
|
);
|