Questions tagged [fsevents]
204 questions
1
vote
1 answer
Nuxt.js: fsevents is not a constructor
I'm using MacOS Mojave 10.14.5. When I run 'npm run dev' command where the nuxt starter package is located, I have 'fsevents' error, and the server doesn't work.
I already reinstall node and npm several times, but it doesn't work.
Here's an…

nate
- 13
- 1
- 5
1
vote
1 answer
Electron cannot build platform dependencies fsevents and/or sqllite on OS X
I want to distribute my web-app to OS X using electron.
During adaptation it for electron extra dependencies of sqlite3 and fsevents were used.
To successfully run the app locally I had to rebuild them using ./node_modules/.bin/electron-rebuild -p…

Yurgen
- 123
- 1
- 13
1
vote
3 answers
Webpack not working in my node.js project. fsevents
I'm currently trying to implement this tutorial:
https://www.typescriptlang.org/docs/handbook/react-&-webpack.html
I'm supposed to install react and react-dom and also webpack + typescript + awesome-typescript-loader + source-map-loader, and that's…

cbdeveloper
- 27,898
- 37
- 155
- 336
1
vote
2 answers
Huge Node/NPM crash in long-time used front-end project framework
I have a Npm Gulp framework that has been used for well over a year now, however, since running some updates this week, every project that uses it no longer runs any of my gulp commands.
I have tried updating global gulp, checked version of Node…

Jay
- 326
- 2
- 18
1
vote
0 answers
FSEvent API doesn't preserve the case/normalization for file/folder delete
I'm using FSEvents APIs to detect file system changes for backup application. Application creates a FSEvent stream on ROOT (/) path. Now the problem starts if sombody removes a file via shell with different case/normalization. Let say if folder…

Suyash Singh
- 11
- 2
1
vote
1 answer
Can we used File System Events in Sandbox Mac App?
I want to monitor any directory using File System Events in sandbox application.
Please any one confirm File System Events used in sandbox application?

vijay
- 1,235
- 1
- 11
- 32
1
vote
0 answers
Mac OSX Filesystem modification program. Error: "kevent register: Bad file descriptor"
I am writing a program to monitor when files are written to the Mac OSX filesystem using C++. I am calling fsevents directly so that I can get the PID of the process that wrote the file to the filesystem.
When I run the program under my username, I…

J. Brett Cunningham
- 163
- 1
- 9
1
vote
1 answer
CDEvent underlying FSEvent flags always `isGenericChange`
I'm using this (older) framework: https://github.com/rastersize/CDEvents to track changes on the filesystem.
For some reason the flag is always event.isGenericChange. On the FSEvent level this would be the kFSEventStreamEventFlagNone (code 0).
Maybe…
user1467267
1
vote
1 answer
Obj-C: FSEvent Reports the Same Event Upon Each Launch of the App
I setup a FSEvent that runs well but it keeps reporting the same event each time I launch the app.
Ex:
My FSEvent monitor directory is:
Test/
...and there are three files:
test1, test2, test3
However, after I deleted test1 in my FSEvent…

Frost
- 3,786
- 5
- 23
- 29
1
vote
1 answer
FSEventsFramework - Dont watch subdirs
I am watching a directory with FSEventsFramework on OSX 10.7+ and I don't want to be notified of changes in subdirectories and it seems to be doing that. Is this normal? Is there a way to prevent this?
Thanks

Noitidart
- 35,443
- 37
- 154
- 323
1
vote
1 answer
Detect old file name and new file name via FSEventsFramework
I am using FSEventsFramework to monitor directories for changes. I was wondering if my logic here is sound, for detecting old file name and new name after a rename.
I think on rename, both events are in the same callback.
Old file name will have…

Noitidart
- 35,443
- 37
- 154
- 323
1
vote
0 answers
(CarbonCore.framework) FSEventStreamFlushSync(): failed assertion '(SInt64)last_id > 0LL'
I'm use library CDEvents for monitor the file system.
When calling method flash Synchronously
- (void)flushSynchronously
{
FSEventStreamFlushSync(_eventStream);
}
get the message
(CarbonCore.framework) FSEventStreamFlushSync(): failed assertion…

abg
- 2,002
- 7
- 39
- 63
1
vote
1 answer
OSX File System Events - unit testing
I am working on unit tests for code that deals with the File System Events API. It creates a directory tree with random data in files and subdirectories, and then performs a few changes on these files and test that changes are handled…

Aaron
- 596
- 1
- 5
- 15
1
vote
2 answers
Javascript/jQuery HasLoaded or equivalent?
I know in jquery it is possible to call the javascript/jquery onload()/load() functions on, for example an image (
).
However, if in jquery if i use .html(htmlString) to insert an image after the dom has loaded, how can i add a listener to…

maxp
- 24,209
- 39
- 123
- 201
1
vote
0 answers
Python selenium error after long runtime
Was running my selenium python code and came across a strange error:
Python[367] (FSEvents.framework) implementation_callback_rpc: ERROR: CFDictionaryGetValue(FSEvents_streamDict, cfPortNumber) => NULL
I searched around but I couldn't find what…

pshee
- 83
- 8