new(all): Node.js v22 and ts-node.

This commit is contained in:
me@rodrigorodriguez.com 2024-09-24 14:38:34 -03:00
parent 30994a3a28
commit d5884636cc
2 changed files with 2 additions and 2 deletions

2
.vscode/launch.json vendored
View file

@ -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": {

View file

@ -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()
});
};