Giter Club home page Giter Club logo

skqueue's People

Contributors

chrischares avatar daniel-pedersen avatar jrapoport avatar maxdesiatov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

skqueue's Issues

Watch folder question

Hello,
I've been playing with SKQueue and noticed that the path is always the folder which is being watched. Not the file that was created or modified. Is this on purpose?

SKQueue deprecation notice

So it seems like this library is still growing in popularity. I'm guessing the ease of use is appealing.

Some background: I wrote this library back in 2014 when Swift was still unstable and I needed kqueue functionality for a project. Today I would have used the DispatchSource API, which exposes kqueue functionality optimized for GCD.

But if y'all like this API I'll consider maintaining it.

Swift 4

Any thoughts on porting this to Swift 4?

Cheers

Moving folder containing watched files does not trigger notification

Hey, first of all thanks for a great lib! I'm using it with success to watch files.

One thing I noticed is that, if I watch a folder and some files contained in it (I'm not even sure I can add folder paths but it doesn't throw an error and isPathWatched returns true for folders too), then moving the folder's location on disk will not post any notification, not on the folder path nor the files' paths.

Is there a way to make this work without too much hassle? It's weird that even the files inside the moved folder don't trigger a notif.

Thanks!

Get always "Write" notification!

Hi,
i tried this to get run. Every time I change a file in one of the folders tracked, I get a "Write" notification, even if I rename a file. You have a long list of different cases, but it seems 2 is the only number returned (= Write).
Is this a bug or a feature? ;-)
Dirk
P.S.: I'm using Xcode 7.3 and OSX 10.11.6

New 1.3 release

Hey @daniel-pedersen, now that #12 is merged, would you mind tagging a new release? This would help packages depending on SKQueue, as they could specify a release tag in their dependencies instead of master. Depending on master directly sometimes leads to issues, especially when integrating SwiftPM dependencies with Xcode. Thanks!

Stops notifying

Couldn't really get things to work reliably.

I monitor a simple html file. If I open it in TextWrangler it works, but if I open it in Xcode (9.4.1) or Coda (2.6.10), then I get a "Rename" notification then nothing. This is on 10.13.6

Any ideas?

L

Question for what program did modification

Hi, great lib!

I'm making an application that continually saves state-files to disk. I'd like to be able to use e.g. a DropBox folder as storage. If the files is modified from another computer and synched with dropbox i'd like to get a notification so I can reload my cached in app state. I would like to filter away my own local modifications and only get notified by other processes modifications. Is it possible to somehow get what process that modified the file? It would be nice to not have to constantly read the files after modifications and compare them to my local cache.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.