Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed putMVar blocking file watcher #1746

Merged
merged 1 commit into from
Jul 15, 2023
Merged

Fixed putMVar blocking file watcher #1746

merged 1 commit into from
Jul 15, 2023

Conversation

mpscholten
Copy link
Member

The call to putMVar waits until the file watcher state MVar is empty. As it's never emptied, the file watcher hangs after watching the first sub directory (typically 'Config'). This is fixed by using modifyMVar_, which doesn't hang when the MVar is full

Fixes #1714

The call to putMVar waits until the file watcher state MVar is empty. As it's never emptied, the file watcher hangs after watching the first sub directory (typically 'Config'). This is fixed by using modifyMVar_, which doesn't hang when the MVar is full
@mpscholten mpscholten merged commit 142c32c into master Jul 15, 2023
4 of 14 checks passed
@mpscholten mpscholten deleted the fix-file-watcher branch July 15, 2023 12:49
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.

Nix-Flakes: Dev-Server does not recognize file changes on new IHP version
1 participant