bitwizeshift / bitwizeshift/Alloy

`win32_filesystem_monitor` misses first event

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Complexity: Low Priority: Medium Status: Available Type: Bug Report
Dominant language
C++
Stars
12
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Checklist

- [x] I did not find a duplicate of this bug in the Github Issues section.

----------

### Description

The `win32_filesystem_monitor` consistently misses firing the _first_ event after being registered.

### Steps to reproduce
1. Construct a `win32_filesystem_monitor `
2. Register a listener to the monitor
3. Register the monitor to a `message_pump`
4. Watch a directory
5. Modify something in that directory

#### Expected Behavior

The first modification is reported

#### Actual Behavior

The second modification and onward is reported.

### Extra information

* Operating System: **Windows 10**
* Compiler: **clang-8.0**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.