fix(control): resolve monorepo root from packages/server/dev-pm2.mjs
Co-authored-by: Nasyarobby Putra <nasyarobby@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ import path from "node:path";
|
|||||||
import { fileURLToPath } from "node:url";
|
import { fileURLToPath } from "node:url";
|
||||||
import net from "node:net";
|
import net from "node:net";
|
||||||
|
|
||||||
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../..");
|
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
|
||||||
const children = [];
|
const children = [];
|
||||||
|
|
||||||
function run(command, args, opts = {}) {
|
function run(command, args, opts = {}) {
|
||||||
|
|||||||
Reference in New Issue
Block a user