@akanjs/cli 0.9.23 → 0.9.24

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/cjs/index.js CHANGED
@@ -3775,8 +3775,8 @@ var Start = ({ appName, bcp, fcp, csr, onExit, maxLength = 100 }) => {
3775
3775
  exit();
3776
3776
  process.exit(0);
3777
3777
  };
3778
- process.on("SIGINT", () => {
3779
- void destroy();
3778
+ process.on("SIGINT", async () => {
3779
+ await destroy();
3780
3780
  });
3781
3781
  return () => {
3782
3782
  void destroy();
@@ -3993,7 +3993,7 @@ var ApplicationRunner = class {
3993
3993
  setTimeout(() => (0, import_open.default)("http://localhost:8080/backend/graphql"), 3e3);
3994
3994
  return app.dist.spawnSync("node", ["--watch", "main.js"], {
3995
3995
  env,
3996
- stdio: withInk ? ["ignore", "pipe", "pipe"] : "inherit",
3996
+ stdio: withInk ? ["inherit", "pipe", "pipe"] : "inherit",
3997
3997
  cwd: `${app.dist.cwdPath}/backend`
3998
3998
  });
3999
3999
  }
@@ -4041,7 +4041,7 @@ var ApplicationRunner = class {
4041
4041
  onStart?.();
4042
4042
  return app.spawnSync("npx", ["next", "dev", "-p", "4200", ...turbo ? ["--turbo"] : []], {
4043
4043
  env,
4044
- stdio: withInk ? ["ignore", "pipe", "pipe"] : "inherit"
4044
+ stdio: withInk ? ["inherit", "pipe", "pipe"] : "inherit"
4045
4045
  });
4046
4046
  }
4047
4047
  async #getViteConfig(app, command, viteConfig = {}) {
package/esm/index.js CHANGED
@@ -3757,8 +3757,8 @@ var Start = ({ appName, bcp, fcp, csr, onExit, maxLength = 100 }) => {
3757
3757
  exit();
3758
3758
  process.exit(0);
3759
3759
  };
3760
- process.on("SIGINT", () => {
3761
- void destroy();
3760
+ process.on("SIGINT", async () => {
3761
+ await destroy();
3762
3762
  });
3763
3763
  return () => {
3764
3764
  void destroy();
@@ -3975,7 +3975,7 @@ var ApplicationRunner = class {
3975
3975
  setTimeout(() => openBrowser("http://localhost:8080/backend/graphql"), 3e3);
3976
3976
  return app.dist.spawnSync("node", ["--watch", "main.js"], {
3977
3977
  env,
3978
- stdio: withInk ? ["ignore", "pipe", "pipe"] : "inherit",
3978
+ stdio: withInk ? ["inherit", "pipe", "pipe"] : "inherit",
3979
3979
  cwd: `${app.dist.cwdPath}/backend`
3980
3980
  });
3981
3981
  }
@@ -4023,7 +4023,7 @@ var ApplicationRunner = class {
4023
4023
  onStart?.();
4024
4024
  return app.spawnSync("npx", ["next", "dev", "-p", "4200", ...turbo ? ["--turbo"] : []], {
4025
4025
  env,
4026
- stdio: withInk ? ["ignore", "pipe", "pipe"] : "inherit"
4026
+ stdio: withInk ? ["inherit", "pipe", "pipe"] : "inherit"
4027
4027
  });
4028
4028
  }
4029
4029
  async #getViteConfig(app, command, viteConfig = {}) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "type": "module",
3
3
  "sourceType": "module",
4
4
  "name": "@akanjs/cli",
5
- "version": "0.9.23",
5
+ "version": "0.9.24",
6
6
  "bin": {
7
7
  "akan": "esm/index.js"
8
8
  },