summaryrefslogtreecommitdiffstats
path: root/tools/tryselect/watchman.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/tryselect/watchman.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/tryselect/watchman.json b/tools/tryselect/watchman.json
new file mode 100644
index 0000000000..a41b1829d7
--- /dev/null
+++ b/tools/tryselect/watchman.json
@@ -0,0 +1,15 @@
+[
+ "trigger",
+ ".",
+ {
+ "name": "rebuild-taskgraph-cache",
+ "expression": ["match", "taskcluster/**", "wholename"],
+ "command": [
+ "./mach",
+ "python",
+ "-c",
+ "from tryselect.tasks import generate_tasks; generate_tasks()"
+ ],
+ "append_files": false
+ }
+]