ci: fix dev mode
This commit is contained in:
parent
4f5abcbc2d
commit
1a9909609e
@ -32,7 +32,7 @@
|
|||||||
"build": "npm run clean-css && copyfiles ./templates/*.ejs .env ./dist/ && tsc",
|
"build": "npm run clean-css && copyfiles ./templates/*.ejs .env ./dist/ && tsc",
|
||||||
"start": "cd ./dist && node ./src/app.js",
|
"start": "cd ./dist && node ./src/app.js",
|
||||||
"clean-css": "cleancss --batch static/*.css -o dist/static --batch-suffix \"\"",
|
"clean-css": "cleancss --batch static/*.css -o dist/static --batch-suffix \"\"",
|
||||||
"dev": "tsc-watch --onSuccess \"npm run start\""
|
"dev": "tsc-watch --onSuccess \"node ./dist/src/app.js\""
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"authors": [
|
"authors": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user