mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 06:20:02 -04:00
make scramjet.init not register service worker
This commit is contained in:
parent
699f4baa6f
commit
e9ba8eb952
6 changed files with 10 additions and 21 deletions
12
server.js
12
server.js
|
@ -94,16 +94,8 @@ if (!process.env.CI) {
|
|||
chmodSync(".git/hooks/pre-commit", 0o755);
|
||||
} catch {}
|
||||
|
||||
const watch = spawn("pnpm", ["rspack", "-w"], {
|
||||
detached: true,
|
||||
spawn("pnpm", ["rspack", "-w"], {
|
||||
stdio: "inherit",
|
||||
cwd: process.cwd(),
|
||||
});
|
||||
|
||||
watch.stdout.on("data", (data) => {
|
||||
console.log(`${data}`);
|
||||
});
|
||||
|
||||
watch.stderr.on("data", (data) => {
|
||||
console.log(`${data}`);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue