diff --git a/.vscode/launch.json b/.vscode/launch.json index f31cdc49..3636d14d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -7,7 +7,7 @@ "sourceMaps": true, "name": "Debug Program with Nodemon", "runtimeExecutable": "npx", - "runtimeArgs": ["nodemon", "--exec", "tsx"], // Use nodemon with tsx + "runtimeArgs": ["nodemon", "--ext","ts","--exec", "tsx"], "program": "${workspaceRoot}/boot.mjs", "cwd": "${workspaceRoot}", "env": { diff --git a/boot.mjs b/boot.mjs index 28064780..0ded1140 100644 --- a/boot.mjs +++ b/boot.mjs @@ -17,7 +17,7 @@ var __dirname = process.env.PWD || process.cwd(); try { var run = async () => { - import('./dist/src/app.js').then(async (gb)=> { + import('./src/app.js').then(async (gb)=> { await gb.GBServer.run() }); };