denandz / glorp

A CLI-based HTTP intercept and replay proxy
BSD 3-Clause "New" or "Revised" License
243 stars 14 forks source link

External editor does not auto-update replays on MacOS #21

Open denandz opened 6 months ago

denandz commented 6 months ago

External editor does not autoupdate on MacOS when saving the generated tmp file. Likely due to fsnotify watching the file, solution may be to watch the tmp directory and monitor for when a new file is moved over the top of the monitored filename as well as write events.

denandz commented 6 months ago

Seems to be an fsnotify issue - https://github.com/fsnotify/fsnotify/issues/600