This commit is contained in:
velzie 2024-07-17 20:21:54 -04:00
parent 4f3fe2813e
commit 7d9842bdfb
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F

View file

@ -12,6 +12,7 @@ import { baremuxPath } from "@mercuryworkshop/bare-mux/node";
import { epoxyPath } from "@mercuryworkshop/epoxy-transport";
import { libcurlPath } from "@mercuryworkshop/libcurl-transport";
import { bareModulePath } from "@mercuryworkshop/bare-as-module3";
import { writeFileSync } from "fs";
const bare = createBareServer("/bare/", {
logErrors: true,
@ -71,6 +72,11 @@ fastify.listen({
host: "0.0.0.0",
});
writeFileSync(".git/hooks/pre-commit", "pnpm prettier . -w");
const watch = spawn("pnpm", ["rspack", "-w"], {
detached: true,
cwd: process.cwd(),