From f35f3040ed175e5a6ce5fc3b3c5f6ddd78b40fa2 Mon Sep 17 00:00:00 2001 From: Jonas Leder Date: Wed, 24 Mar 2021 20:42:37 +0100 Subject: [PATCH] add yarn watch command --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index cbb85ff..8f3e997 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "scripts": { "compile": "concurrently \"yarn css\" \"yarn js\"", "css": "sass scss/:public/css --style=compressed --no-source-map", - "js": "tsc" + "js": "tsc", + "watch" : "concurrently \"tsc --watch\" \"sass --watch --style compressed scss/:public/css\" \"cd public && php -S locaLhost:1234\"" }, "devDependencies": { "@types/node": "^14.14.31",