1- import process from ' process' ;
2- import open from ' open' ;
1+ import process from " process" ;
2+ import open from " open" ;
33
4- import { createFrontend , InjectExpress } from ' ./app' ;
5- import { Instances , Options } from ' ./instance' ;
6- import { getLocation , Location , LocationError } from ' ./location' ;
7- import { getAppInfo , AppInfo , AppInfoError } from ' ./appInfo' ;
4+ import { createFrontend , InjectExpress } from " ./app" ;
5+ import { Instances , Options } from " ./instance" ;
6+ import { getLocation , Location , LocationError } from " ./location" ;
7+ import { getAppInfo , AppInfo , AppInfoError } from " ./appInfo" ;
88
99export type Inject = {
1010 injectFrontend : InjectExpress ;
@@ -29,12 +29,12 @@ function actualRun(appInfo: AppInfo, options: Options, inject: Inject): void {
2929 ) ;
3030
3131 frontend . listen ( options . basePort , ( ) => {
32- console . log ( ' Starting webxdc-dev frontend' ) ;
32+ console . log ( " Starting webxdc-dev frontend" ) ;
3333 } ) ;
3434
3535 instances . start ( ) ;
3636
37- open ( ' http://localhost:' + options . basePort ) ;
37+ open ( " http://localhost:" + options . basePort ) ;
3838}
3939
4040export function run ( locationStr : string , options : Options , inject : Inject ) {
@@ -49,13 +49,13 @@ export function run(locationStr: string, options: Options, inject: Inject) {
4949 throw e ;
5050 }
5151
52- for ( const signal in [ ' SIGINT' , ' SIGTERM' ] ) {
52+ for ( const signal in [ " SIGINT" , " SIGTERM" ] ) {
5353 process . on ( signal , ( ) => {
5454 location . dispose ( ) ;
5555 } ) ;
5656 }
5757
58- console . log ( ' Starting webxdc project in:' , locationStr ) ;
58+ console . log ( " Starting webxdc project in:" , locationStr ) ;
5959
6060 getAppInfo ( location )
6161 . then ( ( appInfo ) => {
0 commit comments