rescript-lang / rescript

ReScript is a robustly typed language that compiles to efficient and human-readable JavaScript.
https://rescript-lang.org
Other
6.76k stars 453 forks source link

Watch mode cleans up `.bsb.lock` after every rebuild #5948

Open fhammerschmidt opened 1 year ago

fhammerschmidt commented 1 year ago

It should rather clean it up only after the watcher is closed. I believe this was the behavior with versions 9.x and lower.

This is also important for the editor extension, as it then can rely on the existence of the lockfile again and omit the popup for a rebuild.

Related:

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

fhammerschmidt commented 2 months ago

@DZakh you did some work on the watcher, right? Is this still a problem?