fix(): remove tsconfig paths in nodemon, remove prefixes

This commit is contained in:
Kamil Myśliwiec 2019-04-21 14:59:06 +02:00
parent 7cb6fe0cf6
commit 30cc388d31
No known key found for this signature in database
GPG Key ID: 75F02E89A1A1092B
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{
"watch": ["dist"],
"ext": "js",
"exec": "node -r tsconfig-paths/register dist/main.js"
"exec": "node dist/main"
}

View File

@ -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",

View File

@ -1,4 +1,4 @@
import { Get, Controller } from '@nestjs/common';
import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';
@Controller()