add yarn watch command
This commit is contained in:
parent
97c3b04d3c
commit
f35f3040ed
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"compile": "concurrently \"yarn css\" \"yarn js\"",
|
"compile": "concurrently \"yarn css\" \"yarn js\"",
|
||||||
"css": "sass scss/:public/css --style=compressed --no-source-map",
|
"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": {
|
"devDependencies": {
|
||||||
"@types/node": "^14.14.31",
|
"@types/node": "^14.14.31",
|
||||||
|
|
Loading…
Reference in a new issue