We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01ac654 commit 9ba166cCopy full SHA for 9ba166c
src/lib/local.ts
@@ -82,7 +82,18 @@ export async function ensureLocalBinarySetup(
82
83
if (config.USE_OWN_LOCAL_BINARY_PROCESS) {
84
logger.info(
85
- "Using user's own BrowserStack Local binary process, skipping setup...",
+ "Using user's own BrowserStack Local binary process, checking if it's running...",
86
+ );
87
+
88
+ const isRunning = await isBrowserStackLocalRunning();
89
+ if (!isRunning) {
90
+ throw new Error(
91
+ "USE_OWN_LOCAL_BINARY_PROCESS is enabled but BrowserStack Local process is not running. Please start your BrowserStack Local binary process first.",
92
93
+ }
94
95
+ logger.info(
96
+ "BrowserStack Local process is running, proceeding with user's own process.",
97
);
98
return;
99
}
0 commit comments