make scramjet.init not register service worker

This commit is contained in:
Percs 2024-12-30 04:28:47 -06:00
parent 699f4baa6f
commit e9ba8eb952
6 changed files with 10 additions and 21 deletions

View file

@ -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}`);
});
}