FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.43k stars 636 forks source link

Only watch recursive on mac and windows #1439

Closed campersau closed 3 years ago

campersau commented 3 years ago

Since node 14 passing recursive on linux will throw an exception. https://nodejs.org/docs/latest/api/fs.html#fs_caveats

https://github.com/nodejs/node/commit/67e067eb06

Fixes https://github.com/FredrikNoren/ungit/issues/1389

cc @jung-kim