From 4b5111b33a184cf4ef0a0952c6b28290bf94364c Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Tue, 4 May 2021 17:15:12 +0200 Subject: [PATCH] package.json dev script: always clean compile first This avoids running old code that could modify the databases unexpectedly --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 060a199..bb19445 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "compile": "yarn clean && tsc", "build": "yarn prepare-sources && yarn compile && node . pre-compile-views && node scripts/dist.js", "build-production": "NODE_ENV=production yarn build", - "dev": "yarn prepare-sources && concurrently -k -n \"Typescript,Node,ViewPreCompile,Maildev\" -p \"[{name}]\" -c \"blue,green,red,yellow\" \"tsc --watch\" \"nodemon -i public -i build\" \"nodemon -i public -i build -- pre-compile-views --watch\" \"maildev\"", + "dev": "yarn compile && yarn prepare-sources && concurrently -k -n \"Typescript,Node,ViewPreCompile,Maildev\" -p \"[{name}]\" -c \"blue,green,red,yellow\" \"tsc --watch\" \"nodemon -i public -i build\" \"nodemon -i public -i build -- pre-compile-views --watch\" \"maildev\"", "lint": "eslint .", "release": "yarn build && yarn lint && yarn test && cd dist && yarn publish" },