mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-23 14:01:39 +00:00
Cleanup dist folder before starting
For some reason, files from the dist folder get used for execution even when running with ts-node. This adds a cleanup step before starting the app. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
0da7d01dec
commit
e5f1069fe9
1 changed files with 3 additions and 3 deletions
|
@ -9,9 +9,9 @@
|
|||
"build": "rimraf dist && nest build",
|
||||
"format": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
|
||||
"format:fix": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
||||
"start": "nest start",
|
||||
"start:dev": "nest start --watch",
|
||||
"start:debug": "nest start --debug --watch",
|
||||
"start": "rimraf dist && nest start",
|
||||
"start:dev": "rimraf dist && nest start --watch",
|
||||
"start:debug": "rimraf dist && nest start --debug --watch",
|
||||
"start:prod": "node dist/main",
|
||||
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
|
||||
"lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
||||
|
|
Loading…
Reference in a new issue