Skip to content

Conversation

@sake92
Copy link
Collaborator

@sake92 sake92 commented Nov 17, 2023

There are 2 parts to this fix:

  1. the FILE_TREE modifier, which tells Windows to watch the whole folder recursively. This prevents errors when trying to move/rename a folder, since otherwise it locks them and we get errors.. Got this from here https://stackoverflow.com/a/6265860/4496364
  2. preventing dynamic registration of subfolders in the recursiveWatches method

The diff in the test is a bit messed up, there are just a few lines changed.. :/

Copy link
Member

@lefou lefou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thank you!

@sake92 sake92 merged commit 7ab5c0f into com-lihaoyi:main Nov 17, 2023
@sake92 sake92 deleted the watch-windows branch November 17, 2023 18:29
@lefou lefou added this to the after 0.9.2 milestone Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants