File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 113113 "sourceMaps" : true ,
114114 "diagnosticLogging" : false ,
115115 "emulator" : false ,
116- "rebuild" : false
116+ "rebuild" : false ,
117+ "syncAllFiles" : false
117118 },
118119 {
119120 "name" : " Launch on iOS" ,
223224 "type" : " boolean" ,
224225 "description" : " Whether the app should be rebuild before start." ,
225226 "default" : true
227+ },
228+ "syncAllFiles" : {
229+ "type" : " boolean" ,
230+ "description" : " Whether to sync files from node_modules folder." ,
231+ "default" : false
226232 }
227233 }
228234 },
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ export interface ILaunchRequestArgs extends DebugProtocol.LaunchRequestArguments
1313 tnsArgs ?: string [ ] ;
1414 tnsOutput ?: string ;
1515 rebuild ?: boolean ;
16+ syncAllFiles ?: boolean ;
1617}
1718
1819export interface IAttachRequestArgs extends DebugProtocol . AttachRequestArguments {
Original file line number Diff line number Diff line change @@ -146,6 +146,7 @@ export class IosProject extends NSProject {
146146 . appendParamIf ( "--start" , args . request === "attach" )
147147 . appendParamIf ( "--debug-brk" , args . request === "launch" )
148148 . appendParamIf ( "--no-rebuild" , ! rebuild )
149+ . appendParamIf ( "--syncAllFiles" , args . request === "launch" && ! rebuild && ( args as ILaunchRequestArgs ) . syncAllFiles )
149150 . appendParam ( "--no-client" )
150151 . appendParams ( args . tnsArgs )
151152 . build ( ) ;
You can’t perform that action at this time.
0 commit comments