deckide 3.5.6 → 3.5.7

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/bin/deckide.js +8 -5
  2. package/package.json +1 -1
package/bin/deckide.js CHANGED
@@ -449,11 +449,14 @@ if (isServerRunningOnPort(port)) {
449
449
  process.exit(0);
450
450
  }
451
451
 
452
- // Kill old server if running on a different port
453
- const oldPid = getRunningPid();
454
- if (oldPid) {
455
- console.log('Stopping old server...');
456
- stopServer();
452
+ // Kill old server if running on a different port (only in background mode,
453
+ // FG mode is always spawned by background mode which already handles this)
454
+ if (!startOptions.fg) {
455
+ const oldPid = getRunningPid();
456
+ if (oldPid) {
457
+ console.log('Stopping old server...');
458
+ stopServer();
459
+ }
457
460
  }
458
461
 
459
462
  // ── Background mode (default) ──
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deckide",
3
- "version": "3.5.6",
3
+ "version": "3.5.7",
4
4
  "description": "Deck IDE - Browser-based IDE with terminal, file explorer, and git integration",
5
5
  "type": "module",
6
6
  "bin": {