cortesi / modd

A flexible developer tool that runs processes and responds to filesystem changes
MIT License
2.8k stars 128 forks source link

modd on macOS never triggers events in ~/documents/x but works in ~/Documents/x #102

Open cameronelliott opened 3 years ago

cameronelliott commented 3 years ago

My apologies if this is well understood/known. Please close if so.

This issue is related to github.com/rjeczalik/notify

I really love modd, and it's super important for my workflow, but it stopped working for me today, and wouldn't fire trigger events no matter what.

After lots of fiddling I discovered the issue is I had moved into the ~/documents/xxx folder, and not ~/Documents/xxx

This appears to break github.com/rjeczalik/notify, as it appear to have folder case sensitivity issues. Turns out it is sort of a known issue with ...notify. https://github.com/rjeczalik/notify/issues/96

The work-around is simple, I need to make sure I do $ cd ~/Documents/xxx and not $ cd ~/documents/xxx

But it sure was hard to find!