-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
turbo watch wrong hash #9104
Comments
|
What is the proper way to have a watch rebuild + subdeps? |
I don't believe I understand your question. Could you elaborate a bit? |
I would like something like watch that honors the inputs of the task so that it triggers only when something matching the inputs changes. |
I believe I am having the same issue of Given a turbo.json like below {
"$schema": "https://turbo.build/schema.json",
"tasks": {
"build": {
"dependsOn": ["^build"],
"inputs": ["$TURBO_DEFAULT$", "src/**/*.ts", "!src/**/*.spec.ts"],
"outputs": ["dist/**"]
}
}
} When I run
However, when I run |
Verify canary release
Link to code that reproduces this issue
turborepo/examples/with-rollup
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Linux
Which canary version will you have in your reproduction?
2.1.1
Describe the Bug
i tried the
with-rollup
example as it aligns with my use case.steps:
packages/ui/.eslintrc.cjs
add a new line and savethis gives
FULL TURBO
->>> Oknow:
this gives a
cache miss
with a different hash and rebuildsnotes: if from here you
npx turbo build
again. the hash is the same as in the first stepsExpected Behavior
cache hits like in turbo build
To Reproduce
examples/with-rollup
pnpm i
Additional context
No response
The text was updated successfully, but these errors were encountered: