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?
npm, pnpm
What operating system are you using?
Windows
Describe the Bug
After launching npx create-turbo@latest prj --use-npm then changing turbo.json to add globalDependencies for a file in the root folder, when changing the content of this file, we have a cache hit.
Expected Behavior
We should have a cache miss.
To Reproduce
npx create-turbo@latest prj --use-npm
cd prj
node -e "const c = require('./turbo.json'); c.globalDependencies= ['./file.js','../file.js','../../file.js']; require('fs').writeFileSync('./turbo.json', JSON.stringify(c, null, 2) , 'utf-8');"
echo "foo" > file.js
npm run build
echo "bar" > file.js
npm run build