Mercurial > minori
diff src/library/library.cc @ 398:650a9159a0e7
filesystem: implement win32 watchers
These are really nice :)
| author | Paper <paper@tflc.us> |
|---|---|
| date | Fri, 07 Nov 2025 14:32:11 -0500 |
| parents | 963047512d34 |
| children |
line wrap: on
line diff
--- a/src/library/library.cc Fri Nov 07 08:39:24 2025 -0500 +++ b/src/library/library.cc Fri Nov 07 14:32:11 2025 -0500 @@ -16,12 +16,15 @@ Database::Database() { /* Do this immediately :) */ + /* Nevermind, this causes an immediate segfault on Windows UpdateWatchers(); + */ } void Database::UpdateWatchers() { /* TODO also need to remove unused watchers */ + for (const auto &p : session.config.library.paths) { if (watchers_.count(p)) continue;
