-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
area: cachingIssues reported about incorrect cache hits or missesIssues reported about incorrect cache hits or misses
Description
What version of Turborepo are you using?
1.6.1
What package manager are you using / does the bug impact?
npm
What operating system are you using?
Mac
Describe the Bug
Figured I'd just report this bug that is occurring again sooner than later.
TLDR: Sporadic cache misses that I've noticed when using Vite with the React Plugin on NPM.
package.json
...
"vite": "3.1.8",
"@vitejs/plugin-react": "2.1.0",
NPM v8.11.0 (Node v16)
OS/Chip - M2 macOS Monterey v12.6
Expected Behavior
Caching should be 'ol reliable
To Reproduce
Two ways to reproduce:
- Try
npm run build
against this kitchen sink example https://github.com/vercel/turborepo/tree/main/examples/kitchen-sink, and you'll notice caching is inconsistent
-- (admin workspace specifically because it's already using vite + react plugin) - Try
npm run build
against this vite example but add the react plugin to it beforehand https://github.com/vercel/turborepo/tree/main/examples/with-vite, and you'll notice caching is inconsistent
jimmy-guzman, attila, AlexAegis, samydoesit, zEh- and 1 more
Metadata
Metadata
Assignees
Labels
area: cachingIssues reported about incorrect cache hits or missesIssues reported about incorrect cache hits or misses