1
1
mirror of https://github.com/srid/ema.git synced 2024-11-25 20:12:20 +03:00

Add script to run via tmux

Because ghcid reloads leaves ghost threads sometime, when reloading VSCode.

And disable launch-when-open in VSCode for that reason.
This commit is contained in:
Sridhar Ratnakumar 2021-04-21 20:43:03 -04:00
parent 82b3fc826a
commit d91fe487a6
2 changed files with 5 additions and 1 deletions

2
.vscode/tasks.json vendored
View File

@ -14,7 +14,7 @@
"isDefault": true
},
"runOptions": {
"runOn": "folderOpen"
// "runOn": "folderOpen"
}
}
]

4
bin/run-via-tmux Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -xe
PROJECT=$(basename `pwd`)
tmux new-session -A -s $PROJECT bin/run