Questions tagged [fsevents]
204 questions
2
votes
0 answers
Error - the platform "linux" is incompatible with fsevents - after upgrading to laravel-mix 4.0.14
After upgrading to laravel-mix 4.0.14, I'm running
yarn check
And I'm getting:
yarn check v1.13.0
error fsevents@1.2.7: The platform "linux" is incompatible with this module.
error Found incompatible module
As I can see fsevents is a package…

dust_bg
- 405
- 4
- 15
2
votes
0 answers
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 expected it to. For example: if I copy a file created…

ndg
- 2,585
- 2
- 33
- 58
2
votes
3 answers
Push Reactjs app to Heroku giving fsevents error
I am following the steps as mentioned in https://blog.heroku.com/deploying-react-with-zero-configuration and am able to create the project. But when I try to push the project, it gives me fsevents error. Its a completely fresh project.
I have…

Nischit Pradhan
- 440
- 6
- 18
2
votes
1 answer
NodeJs fs.watch/FSWatcher Error
Hello I Use the following,
Ubuntu 17.04
Node: v6.11.2
NPM: v3.10.10
While installing My project dependencies I get warning on installing fsevents(this error. I ignored that and I ran the project using Gulp.
I get the following error,
events.js:160
…

Sriram
- 21
- 3
2
votes
1 answer
Webpacker, Yarn and capistrano, fsevents@1.1.1 error
I have a project that I recently migrate from rails 5.0 to rails 5.1, before this I had webpacker install and I deploy it with capistrano, in rails 5.0 everything was working, but when I did the change now capistrano is unable to finish the…

Eduardo
- 74
- 1
- 9
2
votes
1 answer
How to solve broken event compression in FSEventStream
Our C++ application is using FSEventStream to monitor the filesystem with file-level granularity (creating the stream with the kFSEventStreamCreateFlagFileEvents flag), with one listener per volume. However, there appears to be some…

Steve Broberg
- 4,255
- 3
- 28
- 40
2
votes
1 answer
Best Cocoa way to monitor several thousand files for move, delete and rename?
I have an app that keeps a database of files located on the user's machine or perhaps on networked volumes that may or may not be online. This database can potentially be several thousand files located in different folders. What is the best way to…

Trygve
- 1,317
- 10
- 27
2
votes
1 answer
FSEventStream Changing the paths to watch dynamically
I need to monitor a large list of files for deletion or movement. And this list can change dynamically quite a number of times. Is it possible to change the paths to watch of the FSEventStreamContext while the monitoring is in progress?
Is there…

Shanti K
- 2,873
- 1
- 16
- 31
2
votes
0 answers
FSEvents API leaks file descriptors (KQUEUE)
I'm trying to monitor a set of paths with the FSEvents API (OSX 10.9, ARC enabled, sandboxed).
The following code leaks file descriptors. Using lsof, I get a lot of:
Project 70505 aaa 22u KQUEUE count=0, state=0x1
After a couple…

Simon Watiau
- 637
- 5
- 17
2
votes
1 answer
sftp file modifications not detected via FSEvents
On OSX 10.8.x, I am using FSEvents to detect changes in a directory.
The problem is that when a file is copied via sftp, the FSEvents callback is not called.
When I am using cp to copy a file (or touch to simulate a change), the callback is…

FKDev
- 2,266
- 1
- 20
- 23
2
votes
0 answers
(Cocoa) Monitoring File Changes with the File System Events API
I have a task which needs to be notified when a image is copied to a folder. I found a example from: http://developer.apple.com/library/mac/#featuredarticles/FileSystemEvents/_index.html
It works when using command:
$ cp motorcycle.png…

droughtrain
- 257
- 1
- 4
- 18
2
votes
1 answer
File System Events API causing Finder to lock up?
I'm using Apple's File System Events API to monitor a directory hierarchy. I'm essentially using the example from Apple's documentation verbatim, so I won't post my code unless somebody asks for it. My callback adds modified paths to a queue, which…

Xtapolapocetl
- 613
- 5
- 21
2
votes
1 answer
fslogger : ioctl error : Bad Address
I'm using this fslogger.c to get File System Notifications in my Mac. But it works only in Leopard & SnowLeopard, not in Lion or Mountain Lion.
http://osxbook.com/software/fslogger/download/fslogger.c
when trying to clone the /dev/fsevents using…

Manikandaraj Srinivasan
- 3,557
- 5
- 35
- 62
2
votes
2 answers
Can't get rb-fsevent gem working on OSX
I was running Test::Unit with Guard and am trying to switch over to RSpec.
I'm running Mac OSX and can't seem to get rb-fsevent working. When I start Guard I get a message "[Listen warning]: Listen will be polling changes. Learn more at…

Derek Hill
- 5,965
- 5
- 55
- 74
1
vote
1 answer
Sending an instance Callback as a function pointer results in "this" being "null" in C#
I'm working on writing a FileSystemWatcher using Mono but for some reason the callback i send to the FSEvents library isn't mantaining the this reference, it is always null inside the callback even tho the callback is an instance method.
Any idea…

Maurício Linhares
- 39,901
- 14
- 121
- 158