Skip to content

Commit 56df797

Browse files
committed
Use platform-specific monitor logging
1 parent 09984b3 commit 56df797

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/main.d

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,11 @@ int main(string[] cliArgs) {
11621162
if (!appConfig.getValueBool("download_only")) {
11631163
// Not using --download-only
11641164
try {
1165-
addLogEntry("Initialising filesystem event monitoring ...", ["info", "notify"]);
1165+
version (OSX) {
1166+
addLogEntry("Initialising filesystem FSEvents monitoring ...", ["info", "notify"]);
1167+
} else {
1168+
addLogEntry("Initialising filesystem inotify monitoring ...", ["info", "notify"]);
1169+
}
11661170
filesystemMonitor.initialise();
11671171
addLogEntry("Performing initial synchronisation to ensure consistent local state ...");
11681172
} catch (MonitorException e) {

0 commit comments

Comments
 (0)