File tree Expand file tree Collapse file tree
cli-utils/src/lib/project/angular
lab/src/stencil/components/ionlab-preview Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ ${chalk.cyan('[1]')}: ${chalk.bold('https://github.com/angular/angular-cli/wiki/
7878 }
7979
8080 modifyOpenURL ( url : string , options : AngularServeOptions ) : string {
81- return `${ url } ${ options . browserOption ? options . browserOption : '' } ${ options . platform ? `?ionic:mode=${ this . platformToMode ( options . platform ) } ` : '' } ` ;
81+ return `${ url } ${ options . browserOption ? options . browserOption : '' } ${ options . platform ? `?ionic:mode=${ this . platformToMode ( options . platform ) } &ionic:persistConfig=true ` : '' } ` ;
8282 }
8383
8484 async serveProject ( options : AngularServeOptions ) : Promise < ServeDetails > {
Original file line number Diff line number Diff line change @@ -15,7 +15,10 @@ export class Preview {
1515 return ;
1616 }
1717
18- const qp = { 'ionic:mode' : platformMode ( platform ) } ;
18+ const qp = {
19+ 'ionic:mode' : platformMode ( platform ) ,
20+ 'ionic:persistConfig' : 'true' ,
21+ } ;
1922
2023 if ( platform === PLATFORM_IOS ) {
2124 qp [ 'ionic:statusbarPadding' ] = 'true' ;
You can’t perform that action at this time.
0 commit comments