Ignore uploaded files in nodemon to avoid crossing the watch limit

This commit is contained in:
Kuba Orlik 2024-05-16 12:00:51 +02:00
parent 417f4f03a6
commit 55055c1ef4

View File

@ -6,7 +6,7 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"start": "docker-compose up -d db && node .", "start": "docker-compose up -d db && node .",
"start-watch": "SEALIOUS_PORT=$SEALIOUS_PORT SEALIOUS_BASE_URL=$SEALIOUS_BASE_URL nodemon --enable-source-maps .", "start-watch": "SEALIOUS_PORT=$SEALIOUS_PORT SEALIOUS_BASE_URL=$SEALIOUS_BASE_URL nodemon --enable-source-maps --ignore ./uploaded_files .",
"typecheck:back": "tsc --noEmit --target es6 --lib es2021,dom -p tsconfig-back.json", "typecheck:back": "tsc --noEmit --target es6 --lib es2021,dom -p tsconfig-back.json",
"typecheck:front": "tsc --noEmit --target es6 --lib es2015,dom -p tsconfig-front.json", "typecheck:front": "tsc --noEmit --target es6 --lib es2015,dom -p tsconfig-front.json",
"typecheck": "npm run typecheck:back && npm run typecheck:front", "typecheck": "npm run typecheck:back && npm run typecheck:front",