rojo-rbx / rbx-dom

Roblox DOM and (de)serialization implementation in Rust
MIT License
113 stars 45 forks source link

Break rbx_reflector file watcher receive loop after modify events #384

Closed kennethloeffler closed 8 months ago

kennethloeffler commented 8 months ago

On macOS, the file watcher emits a modify event after saving the defaults place in Roblox Studio, making it impossible to successfully use rbx_reflector. This PR fixes this by changing the event receive loop in rbx_reflector's defaults place command so that it also checks for modify events.