Code Monkey home page Code Monkey logo

Comments (5)

emcrisostomo avatar emcrisostomo commented on June 12, 2024

Hi @neojski,

I sincerely do not understand the question. fswatch watches the specified files and directories and reports which one have been modified and how. Also, there's now plenty of documentation including:

  • The README file.
  • The Texinfo manual in PDF format.
  • The man page.

Cheers,
-- Enrico

from fswatch.

neojski avatar neojski commented on June 12, 2024

I'm sorry for not being specific. When I used https://github.com/pipobscure/fsevents it reported the exact file in the directory subtree that got modified. No matter how deep it was.

In other words, let's imagine I have a directory with lots of files/directories inside. When I run fswatch it just reports some numbers. I don't want to start fswatch for every single file in the directory. So is it possible that watching directory something reports something/inside/this/dir has changed?

from fswatch.

emcrisostomo avatar emcrisostomo commented on June 12, 2024

fswatch surely does that on OS X (if you read the doc, the behaviour of the recursive option slightly depends on the monitor being used).

Right now, on my system:

% ./src/fswatch ~
/Users/enricomariacrisostomo/.zsh_history.LOCK
/Users/enricomariacrisostomo/Library/Application Support/Google/Chrome/Local State
/Users/enricomariacrisostomo/Library/SyncedPreferences/com.apple.Safari.plist
/Users/enricomariacrisostomo/Library/SyncedPreferences/com.apple.syncedpreferences.plist
/Users/enricomariacrisostomo/.zsh_history.new
/Users/enricomariacrisostomo/.zsh_history
/Users/enricomariacrisostomo/.zsh_history.LOCK
/Users/enricomariacrisostomo/Library/SyncedPreferences/com.apple.Safari.plist
/Users/enricomariacrisostomo/Library/SyncedPreferences/com.apple.syncedpreferences.plist

How are you invoking fsevents? I guess that, if it just dumps numbers, you are using it with -o/--one-per-batch.

from fswatch.

neojski avatar neojski commented on June 12, 2024

I'm sorry for the confusion, @emcrisostomo. It reports the same for me. I must have messed up something last time I checked that.

from fswatch.

emcrisostomo avatar emcrisostomo commented on June 12, 2024

Hi @neojski, no problems, issues are here to help.

from fswatch.

Related Issues (20)

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.