fix(): remove tsconfig paths in nodemon, remove prefixes
This commit is contained in:
parent
7cb6fe0cf6
commit
30cc388d31
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"watch": ["dist"],
|
||||
"ext": "js",
|
||||
"exec": "node -r tsconfig-paths/register dist/main.js"
|
||||
"exec": "node dist/main"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
"build": "tsc -p tsconfig.build.json",
|
||||
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
||||
"start": "ts-node -r tsconfig-paths/register src/main.ts",
|
||||
"start:dev": "concurrently --names \"NODEMON,TSC\" --handle-input \"wait-on dist/main.js && nodemon\" \"tsc -w -p tsconfig.build.json\" ",
|
||||
"start:dev": "concurrently \"wait-on dist/main.js && nodemon\" \"tsc -w -p tsconfig.build.json\" ",
|
||||
"start:debug": "nodemon --config nodemon-debug.json",
|
||||
"prestart:prod": "rimraf dist && npm run build",
|
||||
"start:prod": "node dist/main.js",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { Get, Controller } from '@nestjs/common';
|
||||
import { Controller, Get } from '@nestjs/common';
|
||||
import { AppService } from './app.service';
|
||||
|
||||
@Controller()
|
||||
|
|
|
|||
Loading…
Reference in New Issue