add global styling settings and refresh

This commit is contained in:
zoronjiermin committed 2026-04-28 22:54:35 +02:00
1 parent ab9dfff33f
commit 41fa7ddf73
25 files changed
+2306 -269

No files matched your search

+8 -1
View File
@@ -1,4 +1,11 @@
import { spawn } from "node:child_process";
import path from "node:path";
const viteBin = path.join(
"node_modules",
".bin",
process.platform === "win32" ? "vite.cmd" : "vite"
);
const run = (name, command, args, env = {}) => {
const child = spawn(command, args, {
@@ -22,7 +29,7 @@ const run = (name, command, args, env = {}) => {
};
const api = run("api", "node", ["server/index.js"], { API_PORT: "4174" });
const vite = run("vite", "node_modules/.bin/vite", []);
const vite = run("vite", viteBin, []);
const stop = () => {
api.kill("SIGTERM");