Skip to content

Commit 37bf964

Browse files
author
IceBuildUser
committed
Merge remote-tracking branch 'origin/release' into HEAD
2 parents 5909dc2 + 5f3be6e commit 37bf964

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/services/test-execution-service.ts

+5
Original file line numberDiff line numberDiff line change
@@ -193,15 +193,20 @@ class TestExecutionService implements ITestExecutionService {
193193
options: {
194194
debugTransport: this.$options.debugTransport,
195195
debugBrk: this.$options.debugBrk,
196+
watch: !!this.$options.watch
196197
}
197198
},
198199
};
200+
199201
if (this.$config.DEBUG || this.$logger.getLevel() === 'TRACE') {
200202
karmaConfig.logLevel = 'DEBUG';
201203
}
204+
202205
if (!this.$options.watch) {
206+
// Setting singleRun to true will automatically start the tests when new browser (device in our case) is registered in karma.
203207
karmaConfig.singleRun = true;
204208
}
209+
205210
if (this.$options.debugBrk) {
206211
karmaConfig.browserNoActivityTimeout = 1000000000;
207212
}

setup/native-script.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
# A PowerShell script to set up Windows machine for NativeScript development
3-
# NOTE: The scripts requires at least a version 4.0 .NET framework installed
3+
# NOTE: The script requires at least a version 4.0 .NET framework installed
44
# To run it inside a COMMAND PROMPT against the production branch (only one supported with self-elevation) use
55
# @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/NativeScript/nativescript-cli/production/setup/native-script.ps1'))"
66
# To run it inside a WINDOWS POWERSHELL console against the production branch (only one supported with self-elevation) use

0 commit comments

Comments
 (0)