Replies: 2 comments 7 replies
-
|
Looks like negative globs are not supported for turborepo/cli/internal/taskhash/taskhash.go Line 124 in cfb65cb manuallyHashPackage that would use inputs where globs start with ! as ignore patterns.
|
Beta Was this translation helpful? Give feedback.
5 replies
-
|
Officially, no, we don't support it. However, if you trace through certain places in the codebase, you will see that our glob handling is inconsistent and you can probably sneak them in. I don't recommend it as the availability is incidental, but because we are as frustrated as we are with our existing setup it is on our list to rework. Feature request received. 😊 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
E.g. in CRA apps tests are in
src/**directory and should not affectbuild.I've tried to use negative patterns:
!src/**/__tests__and!src/**/*.test.ts... but they don't seem to be effective and changes in tests causebuildtask hash to change. I've tried putting them in different order with no luck. There is a brief mention of negative globs for--ignoreparameter of the CLI ... but I don't think it works here.Beta Was this translation helpful? Give feedback.
All reactions