@akanjs/cli 0.9.9 → 0.9.10
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
|
@@ -3588,7 +3588,7 @@ var ApplicationRunner = class {
|
|
|
3588
3588
|
onStart?.();
|
|
3589
3589
|
if (open2)
|
|
3590
3590
|
setTimeout(() => (0, import_open.default)("http://localhost:8080/backend/graphql"), 3e3);
|
|
3591
|
-
await app.dist.spawn("node", ["--watch", "
|
|
3591
|
+
await app.dist.spawn("node", ["--watch", "main.js"], { env, stdio: "inherit", cwd: `${app.dist.cwdPath}/backend` });
|
|
3592
3592
|
}
|
|
3593
3593
|
async buildFrontend(app, { spawnOptions } = {}) {
|
|
3594
3594
|
const { env } = await this.#prepareCommand(app, "build", "frontend");
|
package/esm/index.js
CHANGED
|
@@ -3580,7 +3580,7 @@ var ApplicationRunner = class {
|
|
|
3580
3580
|
onStart?.();
|
|
3581
3581
|
if (open2)
|
|
3582
3582
|
setTimeout(() => openBrowser("http://localhost:8080/backend/graphql"), 3e3);
|
|
3583
|
-
await app.dist.spawn("node", ["--watch", "
|
|
3583
|
+
await app.dist.spawn("node", ["--watch", "main.js"], { env, stdio: "inherit", cwd: `${app.dist.cwdPath}/backend` });
|
|
3584
3584
|
}
|
|
3585
3585
|
async buildFrontend(app, { spawnOptions } = {}) {
|
|
3586
3586
|
const { env } = await this.#prepareCommand(app, "build", "frontend");
|