Better watch script
This commit is contained in:
parent
f0b01f1974
commit
c3632f6c6e
@ -12,7 +12,7 @@
|
||||
"build": "npm run build:back && npm run build:front",
|
||||
"watch:back": "tsc --watch -p src/back",
|
||||
"watch:front": "webpack --watch",
|
||||
"watch": "concurrently npm:watch:back npm:watch:front",
|
||||
"watch": "tmux new-session -d \"printf '\\033]2;%s\\033\\' 'watch:back' && npm run watch:back\" && tmux split-window -d \"printf '\\033]2;%s\\033\\' 'watch:front' && npm run watch:front\" && tmux select-layout even-horizontal && tmux set -g pane-border-status top && tmux attach",
|
||||
"test-reports": "npm run build && rm -fr .xunit coverage && docker-compose up -d db mailcatcher && npm run test -- --cover --test-report",
|
||||
"cover-html": "npm run test-reports -- --cover-html && xdg-open coverage/lcov-report/index.html"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user