add yarn watch command

This commit is contained in:
Jonas Leder 2021-03-24 20:42:37 +01:00
parent 97c3b04d3c
commit f35f3040ed

View file

@ -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",