Questions tagged [fsevents]

204 questions
1
vote
1 answer

fsevents command line

I have written an objective-c class for watching a particular folder using FSEventStreamCreate(). This class work as expected when I am using it in GUI based application. Now I am trying to write a commandline application using this class. The…
vrrathod
  • 1,230
  • 2
  • 18
  • 28
1
vote
1 answer

SCEvents doesn't work in some methods?

[Note: The title may be less than accurate, I didn't know how else to phrase it] For some reason NSFileHandle's readInBackground didn't work so I resorted to SCEvents, a Cocoa wrapper around Mac OS X's FSEvents API. I have a separate class called…
indragie
  • 18,002
  • 16
  • 95
  • 164
1
vote
1 answer

OSX RoR Guard failing to auto run on file updates for certain files

I'm absolutely baffled.. (And quite frustrated too.. ) For some reason guard isn't detecting file updates on osx, but only for certain files. It's almost like the regexp defined in the watch function isn't working or something.. I have created a…
Jason Ellis
  • 625
  • 2
  • 8
  • 19
1
vote
1 answer

fsevents-daemon vs FSEvents API

I was checking apple Developer Documentation about FSEvents , but later in dropbox forums, i found this https://forums.dropbox.com/topic.php?id=20771, " I believe one would not use fsevents-daemon directly but would use the FSEvents API. ....…
Zeus
  • 571
  • 1
  • 7
  • 23
1
vote
1 answer

Check which files have changed in Mac::FSEvents in Perl?

Is it possible to see which files have been changed whenever an change-event is called using: https://metacpan.org/pod/Mac::FSEvents ? Thanks a lot! :)
Olive
  • 3,516
  • 7
  • 24
  • 32
1
vote
2 answers

Dropbox DIY to sync with your server: rsync + FSEvents/inotify/anything else?

To make a long story short, I need to build a simple dropbox clone to sync files with my server. I did my homework, I did lots of research, but none of the solutions I found (both code and already baked solutions) seemed to be good enough. I have…
The Bug Fool
  • 63
  • 1
  • 4
0
votes
0 answers

Module not found: Error: Can't resolve 'fsevents' in '..\chokidar\lib'

I'm a beginner. Please help me with the following error: WARNING in ./node_modules/glob-watcher/node_modules/chokidar/lib/fsevents-handler.js 7:17-36 Module not found: Error: Can't resolve 'fsevents' in…
0
votes
0 answers

Storybook install failed caused by fsevents

I'm trying to install storybook on my project. I've got the next error : npm install @storybook/vue3 --save-dev npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin"} (current:…
N.Jourdan
  • 590
  • 2
  • 4
  • 22
0
votes
1 answer

No loader is configured for ".node" files while using Vite

Currently Im using Vite for my project, when I stopped the dev running HMR. And after when a I ran again the script this error appeared. I don't have a clue why this suddenly happened. This showed in terminal [ERROR] No loader is configured for…
0
votes
0 answers

Unable to deploy 11ty site via Netlify due to fsevents platform error

I'm trying to deploy my 11ty site via Netlify using Github for the continuous deployment however I'm unable to due to the following error: 8:12:37 PM: npm ERR! code EBADPLATFORM 8:12:37 PM: npm ERR! notsup Unsupported platform for fsevents@2.3.2:…
Zaq Mughal
  • 11
  • 1
  • 2
  • 7
0
votes
1 answer

"gem install autotest-fsevent" -v 0.1.1 fails on snow leopard

Following Michael Hartl's Rails 2.3 tutorial. Excellent, so far, but I am stuck on the prep for the testing environment on page 87. Can't get the autotest-fsevent to install. iMac i7 running Snow Leopard. Typing the command in the Title, above,…
lbloom53
  • 1
  • 1
0
votes
1 answer

React Help wanted on WEBPACK error {"os":"darwin"} + {SQL DB}

I am just trying to install this React script on a cPanel server, and it has gone over my head to say the least. Now testing on local Linux MX. The script: https://github.com/webdesignleader/referBeam I followed the readme_md verbatim, to no avail.…
00g
  • 11
  • 5
0
votes
2 answers

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 monitor a specific folder for changes to files with a certain extension.
AWF4vk
  • 5,810
  • 3
  • 37
  • 70
0
votes
1 answer

Jenkins build fail: fsevents unsupported

Package-lock.json has fsevents as optionalDependecy, which is causing build to fail. How can I remove it or, make Jenkins support fsevents? This is what I get from Jenkins when npm install; + npm install npm WARN read-shrinkwrap This version of npm…
Rinael
  • 133
  • 3
  • 12
0
votes
1 answer

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 it is watching. Here's the setup code: void…
swilliams
  • 48,060
  • 27
  • 100
  • 130