Fix problems with app starting in watch
This commit is contained in:
parent
2c9e682d44
commit
30bf4ca5b2
@ -6,9 +6,10 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "docker-compose up -d db && node .",
|
"start": "docker-compose up -d db && node .",
|
||||||
"typecheck:back": "npx tsc --noEmit --target es6 --lib es2021,dom -p tsconfig-back.json",
|
"start-watch": "SEALIOUS_PORT=$SEALIOUS_PORT SEALIOUS_BASE_URL=$SEALIOUS_BASE_URL nodemon --enable-source-maps .",
|
||||||
"typecheck:front": "npx tsc --noEmit --target es6 --lib es2015,dom -p tsconfig-front.json",
|
"typecheck:back": "tsc --noEmit --target es6 --lib es2021,dom -p tsconfig-back.json",
|
||||||
"prebuild": "rm -rf dist/*",
|
"typecheck:front": "tsc --noEmit --target es6 --lib es2015,dom -p tsconfig-front.json",
|
||||||
|
"prewatch": "rm -rf dist/* && npm run build",
|
||||||
"build": "sealgen build",
|
"build": "sealgen build",
|
||||||
"watch": "multiple-scripts-tmux -p watch",
|
"watch": "multiple-scripts-tmux -p watch",
|
||||||
"reset-db": "docker-compose down && docker-compose up -d",
|
"reset-db": "docker-compose down && docker-compose up -d",
|
||||||
@ -27,7 +28,7 @@
|
|||||||
"npm run typecheck:back -- --watch",
|
"npm run typecheck:back -- --watch",
|
||||||
"npm run build -- --watch",
|
"npm run build -- --watch",
|
||||||
"npm run typecheck:front -- --watch",
|
"npm run typecheck:front -- --watch",
|
||||||
"SEALIOUS_PORT=$SEALIOUS_PORT SEALIOUS_BASE_URL=$SEALIOUS_BASE_URL nodemon --enable-source-maps ."
|
"npm run start-watch"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user