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
Haha, it seems like it's picking up the changes it's creating, resulting in an infinite loop of building. Which, I guess technically does mean it's building whenever you change things, but probably a bit more than is strictly necessary 😅
I see what's happening. It's changing the ./package.json file in the build. We do need to rebuild if you change the package.json, but not if tshy itself changes it. And the signal that a file was changed happens after the build has completed, so it's a bit tricky. There's a 50ms delay in there before it sets building=false, but that is a bit kludgey, and seems to not be enough time anyway.
tshy --watch
builds no less than three (3) times when I start it. I am assuming that's not what should happen.(
node_modules/.bin
is in myPATH
.)If you can't reproduce this, here's where I'm using it.
The text was updated successfully, but these errors were encountered: