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
Define a package with a target and no inputs and outputs specified, and package needs to have some files under src/ folder and top level like jest.config.js
Run the task once (so it's cached)
Make a change to a top-level file
Re-run the same task (it should be skipped)
You will see that changes you made to the top level file are reverted after the cached/skipped task run. Observe that this isn't valid for files that starts with . like .eslintrc.js
Expected behavior
Cached task runs should not revert any changes by default. Although it can be worked around using inputs and outputs, it's a strange default behaviour.
Environment/Troubleshooting
The text was updated successfully, but these errors were encountered:
Describe the bug
To Reproduce
Steps to reproduce the behavior:
inputs
andoutputs
specified, and package needs to have some files undersrc/
folder and top level likejest.config.js
.
like.eslintrc.js
Expected behavior
Cached task runs should not revert any changes by default. Although it can be worked around using
inputs
andoutputs
, it's a strange default behaviour.Environment/Troubleshooting
The text was updated successfully, but these errors were encountered: