You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There functions should be called only once with really bounded ports. config.runnerPort and config.port aren't what's needed. These ports are only initial port numbers. If a port cannot be bound, it's attempted to bind the port number increased by one and so on.
Thanks!
The text was updated successfully, but these errors were encountered:
globalEmitter.on('runner_port_bound', function(runnerPort) {
// sending runner port to IDE
});
globalEmitter.on('web_server_port_bound', function(webServerPort) {
// sending webServer port to IDE
});
It's a feature request for WebStorm integration.
WebStorm needs to know
webServerPort
andrunnerPort
.Now this information is mined from the standard output of Karma server:
Such approach seems to be unsafe.
For example, WebStorm integration isn't working if
logLevel: config.LOG_DISABLE
is set.It'd be nice to have the following API on JavaScript level:
There functions should be called only once with really bounded ports.
config.runnerPort
andconfig.port
aren't what's needed. These ports are only initial port numbers. If a port cannot be bound, it's attempted to bind the port number increased by one and so on.Thanks!
The text was updated successfully, but these errors were encountered: