gecko-dev/tools/tryselect/watchman.json
Andrew Halberstadt 86e7b04de4 Bug 1546757 - [tryselect] Add a watchman trigger to rebuild the taskgraph cache in the background, r=tomprince
This adds a 'watchman.json' file to /tools/tryselect and some documentation on
how to use it. Tl;dr, install watchman and then:

$ cd path/to/gecko
$ watchman -j < tools/tryselect/watchman.json

Differential Revision: https://phabricator.services.mozilla.com/D28771

--HG--
extra : moz-landing-system : lando
2019-05-02 16:45:19 +00:00

9 lines
255 B
JSON

["trigger", ".",
{
"name": "rebuild-taskgraph-cache",
"expression": ["match", "taskcluster/**", "wholename"],
"command": ["./mach", "python", "-c", "from tryselect.tasks import generate_tasks; generate_tasks()"],
"append_files": false
}
]