Questions tagged [fsevents]
204 questions
0
votes
1 answer
Memory Leak in fsevents watcher in Mac OS X
I need file system notifications in Mac OS X and i'm reading from /dev/fsevents. A Sample code of capturing fsevents in Mac OS X : http://www.codecollector.net/view/1066/raw_fsevents. In this code, you can see the buffer read from /dev/fsevents is…

Manikandaraj Srinivasan
- 3,557
- 5
- 35
- 62
0
votes
1 answer
OS X and FSEvents: How do you release a callback pointer supplied to an FSEventStreamRef?
I'm using FSEvents to monitor a directory, and whenever the directory changes I call a block which I originally passed into the FSEventStreamContext of the FSEventStreamRef. How do I release the block when it is time to stop monitoring the…

Steveo
- 2,238
- 1
- 21
- 34
0
votes
1 answer
What's the minimum version of OS X that supports File System Events?
I'd like to use FSEvents aka File System Events to listen to changes to the contents of a folder hierarchy. In my tests, File System Events does a superb job. However I can't find info as to whether it works on Tiger.
Anyone know?

Steve McLeod
- 51,737
- 47
- 128
- 184
0
votes
1 answer
Cocoa File-/Directory Watch Library available?
I know that there is the FSEvents Api and some Spotlight API to create a File- / Directory Watcher. I also know that there are some ObjC wrappers for FSEvents like CDEvents but is there anywhere a complete Cocoa Library for File-/Folder Watching? I…
user99070
0
votes
1 answer
Do i need Administrator privileges to Monitor files in Mac using FSEvents
I'm trying to get the File System Event notifications in Mac for my Application. When i was googling about FSEvents, noticed Dropbox is also using FSEvents and it's asking for administrator privileges to run "dbfseventsd" process. Do i also need to…

Manikandaraj Srinivasan
- 3,557
- 5
- 35
- 62
0
votes
1 answer
File Watcher in Cocoa
Hai all, I am developing an application in cocoa.I want to constantly check whether the contents of a file in a particular location is changed or not (like FileSystemWatcher in .NET).Please anyone give me a solution.I used FSEvent but it monitors…

MobX
- 2,640
- 7
- 33
- 54
-1
votes
1 answer
Is there a definitive list of FSEvents event flags?
I've been searching but cannot find a definitive list. I'm logging certain events and I'm not sure what they are - would be very useful to have a lookup table to be able to see more clearly what's going on.

petenelson
- 460
- 2
- 15
-2
votes
1 answer
npm install fsevents on ubuntu says unsupported platform
When i try npm install fsevents I get
Unsupported platform for fsevents@2.1.2:
wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
...
webpack: Failed to compile.
The server does start at localhost:4200
but all `get`s fails…

Michael Durrant
- 93,410
- 97
- 333
- 497