Skip to content

Instantly share code, notes, and snippets.

@jaredcwhite
Created February 22, 2021 18:39
Show Gist options
  • Save jaredcwhite/779fb92e2e03a04db42329ee5ab82f49 to your computer and use it in GitHub Desktop.
Save jaredcwhite/779fb92e2e03a04db42329ee5ab82f49 to your computer and use it in GitHub Desktop.
File Watcher setup for the Bridgetown repo
{
"filewatcher.commands": [
{
"match": "test/test_.*\\.rb",
"isAsync": true,
"cmd": "/bin/zsh --login -c \"cd ${fileDirname}; cd ..; SKIP_COV=true script/test ${file}\" && echo 'Test run completed.'",
"event": "onFileChange"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment