Created
May 18, 2017 15:21
-
-
Save KarlAmort/2cb2a540c49920e34fb8e42a20cb5f58 to your computer and use it in GitHub Desktop.
VSCode (Visual Studio Code) tasks.json configuration for rails guard test runner task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"command": "watch", | |
"suppressTaskName": true, | |
"tasks": [{ | |
"taskName": "watch", | |
"command": "rbenv", | |
"args": ["exec", "bundle", "exec", "guard", "--no-interactions"], | |
"isBackground": true, | |
"problemMatcher": { | |
"applyTo": "allDocuments", | |
"owner": "Ruby", | |
"fileLocation": ["relative", "${workspaceRoot}"], | |
"pattern": [{ | |
"regexp": "^(Error|Warning|Info):.*$", | |
"severity": 1 | |
}, | |
{ | |
"regexp": "^\\s*[^#]+#[^:]+:$", | |
"message": 0 | |
}, | |
{ | |
"regexp": "^\\s*([^:]+):(.*)$", | |
"message": 5 | |
}, { | |
"regexp": "^ ([^:]+):(\\d+):in (.+)$", | |
"file": 1, | |
"location": 2, | |
"code": 3 | |
} | |
], | |
"watching": { | |
"activeOnStart": true, | |
"beginsPattern": "^# Running:$", | |
"endsPattern": "^\\d+ runs.*$" | |
} | |
} | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment