You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Mac
Describe the Bug
The --ignore argument is not effective at removing files from affecting the cache hash / scope.
I want to use --ignore="**/* to allow me to cache a build based solely on the files and environment variables I choose. Not on the entire content of the package.
Expected Behavior
Files ignored by the --ignore=**/* glob should not affect cache hash / scope.
To Reproduce
$ npx create-turbo@latest
$ cd my-turborepo
$ yarn turbo run build
$ touch apps/web/new-file.txt
$ yarn turbo run build --ignore="**/*" --scope=web