@plumpslabs/fennec-cli 1.13.7 → 1.13.8

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.
package/dist/index.js CHANGED
@@ -2091,7 +2091,7 @@ function hexColor(color) {
2091
2091
  }
2092
2092
  var fennecOrange2 = hexColor("#FF6432");
2093
2093
  var fennecGold = hexColor("#FFB347");
2094
- var VERSION = "1.13.7";
2094
+ var VERSION = "1.13.8";
2095
2095
  var cachedBanner = null;
2096
2096
  var cachedCompact = null;
2097
2097
  function generateBanner() {
@@ -4241,10 +4241,11 @@ async function killCommand(args2) {
4241
4241
  const trackedMatch = tracked.find((t) => t.name === rawTarget);
4242
4242
  if (trackedMatch) {
4243
4243
  if (!isTrackedRunning(trackedMatch)) {
4244
+ removeTrackedByPid(trackedMatch.pid);
4244
4245
  console.error(`
4245
- ${pc8.yellow("\u26A0")} ${pc8.bold(rawTarget)} ${pc8.dim("is already stopped (no running process to kill)")}`);
4246
- console.error(` ${pc8.dim("Use")} ${pc8.cyan("fennec spawn")} ${pc8.dim("to resume")}`);
4247
- process.exit(0);
4246
+ ${pc8.green("\u2713")} ${pc8.bold(rawTarget)} ${pc8.dim("removed from tracked apps (was already stopped)")}`);
4247
+ console.error();
4248
+ return;
4248
4249
  }
4249
4250
  targetPid = trackedMatch.pid;
4250
4251
  displayName = `${trackedMatch.name} (PID ${targetPid})`;