rescript-lang / rescript-compiler

The compiler for ReScript.
https://rescript-lang.org
Other
6.74k stars 448 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 1 month 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 1 month ago

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