diff --git a/.nodemon/debug.json b/.nodemon/debug.json index 695feff..79cb40d 100644 --- a/.nodemon/debug.json +++ b/.nodemon/debug.json @@ -10,5 +10,5 @@ "TYPESCRIPT": "true" }, "ext": "ts", - "exec": "tsx --inspect-brk" + "exec": "tsx --inspect-brk src/index.ts" } diff --git a/.nodemon/js.json b/.nodemon/js.json index a62d05b..d27b5a7 100644 --- a/.nodemon/js.json +++ b/.nodemon/js.json @@ -8,5 +8,6 @@ "env": { "NODE_ENV": "dev" }, - "ext": "js" + "ext": "js", + "exec": "node dist/index.js" } diff --git a/.nodemon/ts.json b/.nodemon/ts.json index a0dd68d..7147806 100644 --- a/.nodemon/ts.json +++ b/.nodemon/ts.json @@ -10,5 +10,5 @@ "TYPESCRIPT": "true" }, "ext": "ts", - "exec": "tsx" + "exec": "tsx src/index.ts" } diff --git a/package.json b/package.json index 3f2e6fd..fcc7c6e 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,9 @@ "build": "swc src -d dist --strip-leading-paths", "watch": "swc src -d dist --strip-leading-paths --watch", "dev": "nodemon --config .nodemon/swc.json", - "dev:ts": "nodemon --config .nodemon/ts.json src/index.ts", - "dev:ts:inspect": "nodemon --config .nodemon/debug.json src/index.ts", - "dev:js": "nodemon --config .nodemon/js.json dist/index.js", + "dev:ts": "nodemon --config .nodemon/ts.json", + "dev:ts:inspect": "nodemon --config .nodemon/debug.json", + "dev:js": "nodemon --config .nodemon/js.json", "fmt": "dprint fmt \"**/*.ts\"", "check": "pnpm tscheck && pnpm lint", "tscheck": "tsc",