sensivity 2.5.22 → 2.5.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/launcher.js +5 -1
  2. package/package.json +1 -1
package/launcher.js CHANGED
@@ -136,6 +136,10 @@ function runSupervisor() {
136
136
  removeFileSafe(STOP_FILE);
137
137
  process.exit(0);
138
138
  }
139
+ if (isPanelPortBusy()) {
140
+ setTimeout(launchWorker, 2000);
141
+ return;
142
+ }
139
143
 
140
144
  let worker;
141
145
  try {
@@ -168,7 +172,7 @@ if (IS_SUPERVISOR) {
168
172
  } else {
169
173
  if (!IS_WORKER && !RUN_AS_FOREGROUND) {
170
174
  ensureAutostart();
171
- if (!isSupervisorRunning() && !isPanelPortBusy()) startSupervisor();
175
+ if (!isSupervisorRunning()) startSupervisor();
172
176
  process.exit(0);
173
177
  }
174
178
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sensivity",
3
- "version": "2.5.22",
3
+ "version": "2.5.23",
4
4
  "description": "Sensivity Control Panel",
5
5
  "main": "launcher.js",
6
6
  "bin": {