Skip to content

Commit 620c727

Browse files
committed
chore: during dev npm install is preferred to pull in node deps in src-node
1 parent 3109062 commit 620c727

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src-build/serveForPlatform.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ if (target === "tauri") {
5454
await execa("npx", ["tauri", "dev"], {stdio: "inherit"});
5555
} else {
5656
const srcNodePath = resolve("../phoenix/src-node");
57-
console.log(`Running "npm ci" in ${srcNodePath}`);
58-
await execa("npm", ["ci"], {cwd: srcNodePath, stdio: "inherit"});
57+
console.log(`Running "npm install" in ${srcNodePath}`);
58+
await execa("npm", ["install"], {cwd: srcNodePath, stdio: "inherit"});
5959

6060
console.log('Starting Electron...');
6161
await execa("./src-electron/node_modules/.bin/electron", ["src-electron/main.js"], {stdio: "inherit"});

0 commit comments

Comments
 (0)