Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
Katja Lutz | 99628f1350 | 2 years ago |
Katja Lutz | 6065c1ebf3 | 2 years ago |
Katja Lutz | e02f5d0edd | 2 years ago |
Katja Lutz | df1565c942 | 2 years ago |
@ -0,0 +1,25 @@
|
||||
|
||||
dist
|
||||
.solid
|
||||
.output
|
||||
.vercel
|
||||
.netlify
|
||||
netlify
|
||||
/CHANGELOG.md
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
|
||||
# IDEs and editors
|
||||
/.idea
|
||||
.project
|
||||
.classpath
|
||||
*.launch
|
||||
.settings/
|
||||
|
||||
# Temp
|
||||
gitignore
|
||||
|
||||
# System Files
|
||||
.DS_Store
|
||||
Thumbs.db
|
@ -1,13 +1,20 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
import { exec } from "node:child_process";
|
||||
const process = exec("npm run start", (error, stdout, stderr) => {
|
||||
if (error) {
|
||||
console.error(`${error}`);
|
||||
return;
|
||||
import { resolve } from "node:path";
|
||||
import { fileURLToPath } from "url";
|
||||
|
||||
const process = exec(
|
||||
"npm run start",
|
||||
{ cwd: resolve(fileURLToPath(import.meta.url), "..") },
|
||||
(error, stdout, stderr) => {
|
||||
if (error) {
|
||||
console.error(`${error}`);
|
||||
return;
|
||||
}
|
||||
console.log(`${stdout}`);
|
||||
console.error(`${stderr}`);
|
||||
}
|
||||
console.log(`${stdout}`);
|
||||
console.error(`${stderr}`);
|
||||
});
|
||||
);
|
||||
process.stdout.on("data", (data) => console.log(data));
|
||||
process.stderr.on("data", (data) => console.error(data));
|
||||
|
Loading…
Reference in New Issue