Replies: 1 comment
-
|
My bad fs.writeFileSync works fine, the issue was that the content was the same. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
When I modify files using VS Code it works, it identifies that the files were modified and I can run the
formattask again without issues!But if I try to write a file using Node (eg: fs.writeFileSync) it doesn't identify that the files were modified!
This is what my tasks look like in the turbo.json file:
I also tried deleting the file (fs.unlinkSync) and recreating it, but I still have issues with the
formattask knowing that the files were modified (it doesn't clear the cache).This is the code I used to create the file:
I hope someone can help me, I don't know if I'm doing something wrong, or if it's a bug. 😞
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions