Skip to content

Use fs.watch() instead of fs.watchFile() #23

@nfarina

Description

@nfarina

I often use fs_usage to monitor what apps are misbehaving on my system when my battery life seems to be running down faster than usual. And I've noticed that jitter will cause a lot of repeated filesystem activity when it's running, which for me is always.

I believe this is because jitter uses fs.watchFile(), which is polling-based on the Mac.

Can jitter be made to use fs.watch() instead? This is what coffee --watch uses and is the only reason I can't use jitter!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions