Skip to content

Commit d90b9fd

Browse files
FatmeFatme
Fatme
authored and
Fatme
committed
Merge pull request #876 from NativeScript/fatme/fix-static-bindings-option
Respect --static-bindings option from run command
2 parents f7b0c13 + 4e8755e commit d90b9fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/services/platform-service.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,14 @@ export class PlatformService implements IPlatformService {
213213
}).future<void>()();
214214
}
215215

216-
public runPlatform(platform: string): IFuture<void> {
216+
public runPlatform(platform: string, buildConfig?: IBuildConfig): IFuture<void> {
217217
return (() => {
218218
platform = platform.toLowerCase();
219219

220220
if (this.$options.emulator) {
221-
this.deployOnEmulator(platform).wait();
221+
this.deployOnEmulator(platform, buildConfig).wait();
222222
} else {
223-
this.deployOnDevice(platform).wait();
223+
this.deployOnDevice(platform, buildConfig).wait();
224224
}
225225
}).future<void>()();
226226
}

0 commit comments

Comments
 (0)