I have a lint task set up in my root turbo.json:
"tasks: { "lint": { "outputs": [], "inputs": [ "$TURBO_DEFAULT$", "$TURBO_ROOT$/eslint.config.mjs" ] }, ...}I have several packages with a lint task calling eslint in their package.json.
My problem is that turbo watch lint doesn't rerun when there are changes to eslint.config.mjs.
The caching itself is working. That is, turbo run lint will correctly cache miss if there's a change in eslint.config.mjs.
If I put eslint.config.mjs into "globalDependencies", the watcher properly detects a change in the file and reruns the task.
Current behavior:
Change to root-level input file eslint.config.mjs doesn't cause turbo watch lint to rerun.
Expected behavior: Change to a root-level input file should cause the watcher to rerun the task.
I'm on MacOS 15.4.1 with an M4 processor.