diff --git a/package.json b/package.json index d29c610..c01200e 100644 --- a/package.json +++ b/package.json @@ -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" },