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