Allow schedule weeks at date window edges
This commit is contained in:
@@ -39,11 +39,11 @@ console.log(`Starting Modern.js on :${MODERNJS_PORT}...`);
|
||||
const modernBin = resolve("node_modules", ".bin", "modern");
|
||||
const modernProcess = existsSync(modernBin)
|
||||
? spawn(modernBin, ["dev"], {
|
||||
stdio: "inherit",
|
||||
stdio: ["ignore", "inherit", "inherit"],
|
||||
env: { ...process.env, PORT: String(MODERNJS_PORT) },
|
||||
})
|
||||
: spawn(process.execPath, [resolve("node_modules", "@modern-js/app-tools", "bin", "modern.js"), "dev"], {
|
||||
stdio: "inherit",
|
||||
stdio: ["ignore", "inherit", "inherit"],
|
||||
env: { ...process.env, PORT: String(MODERNJS_PORT) },
|
||||
});
|
||||
modernProcess.on("error", (err) => {
|
||||
|
||||
Reference in New Issue
Block a user