This commit is contained in:
2026-03-18 17:37:24 +01:00
parent f6db3ab866
commit eec0df83cd
79 changed files with 2333 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
import { Command } from "commander";
import grabConfig from "../../functions/grab-config";
import startServer from "../../functions/server/start-server";
import init from "../../functions/init";
export default function () {
return new Command("dev")
.description("Run development server")
.action(async () => {
console.log(`Running development server ...`);
await init();
const config = (await grabConfig()) || {};
global.CONFIG = {
...config,
development: true,
};
await startServer({ dev: true });
});
}