fsevents
Stream created with FSEventStreamCreate is nil
I want to create a simple event stream in order to listen events when some changes ocurre in a directory. The first step is the creation of the stream, but I receive an error in the creation using FSE[详细]
2023-04-11 19:24 分类:问答Writing a file with vim doesn't fire a file change event on OS X
I am using watchdog to monitor .less file change events on OS X. If I 开发者_如何学运维change the contents of a .less file with TextMate or Sublime Text the modification event is captured. However, if[详细]
2023-04-08 07:36 分类:问答Guard doesn't see file updates
I\'m developing a custom engine using this setup. I\'ve created the engine with rails plugin new MyEngine --full[详细]
2023-04-03 07:22 分类:问答tracking file renaming/deleting with FSEvents on Lion
I\'m trying to use FSEvents to detect when files were added/removed from a specific folder. For the moment, I implemented a simple wrapper around FSEvents, and it works fine : I get all the events.[详细]
2023-04-02 03:32 分类:问答Monitoring a directory for changes in OSX without fsevent
Is there an alternative to fsevent or some kind of wrapper for it? I\'m trying to monit开发者_开发技巧or a specific folder for changes to files with a certain extension.There is UKKQueue, which is a[详细]
2023-03-30 21:28 分类:问答Changing the pathsToWatch in fsevents
I\'ve set up a watcher mechanism using fsevents. The gist of it is every time a file is created in folder X, I want a function to run. It\'s running fine now, but I need to be able to change the path[详细]
2023-03-29 06:31 分类:问答FSEvents mysteriously fails to deliver events in some folders
this is killing me, and I\'m not sure I know how to approach debugging it. I\'m using Mac FSEvents API to monitor a given folder on the file system. However, occasionally, some folders stop sending a[详细]
2023-03-23 08:57 分类:问答reloadData in NSTableView but keep current selection
I have anNSTableView showing the conte开发者_Go百科nts of a directory. I watch for FSEvents, and each time I get an event I reload my table view.[详细]
2023-03-10 20:50 分类:问答Is it possible to use FSEvents to get notifications that a folder has been moved?
I\'m using the FSEvents API to get notifications of changes in a local directory that I\'m tracking. Is it possible to get a notification that the watched directory has been moved to another location[详细]
2023-03-01 02:51 分类:问答Using NSFileManager to get the modified date of a copied file
I\'m using NSFileManager\'s attributesOfItemAtPath to calculate the date a file was last modified in OS X. While this works, in many cases the file modification date doesn\'t behave as I would have ex[详细]
2023-02-18 16:35 分类:问答