FG

inotifywait alternative command for Mac?

Fresh3 days ago
Mar 15, 20267702 views
Confidence Score0%
0%

Problem

Something like during which I do not have to write XML. I am aware of https://stackoverflow.com/questions/1515730/is-there-a-command-like-watch-or-inotifywait-on-the-mac. It can be a wrapper to launchd - I just want to be able to enter the above command.

Error Output

$ macwatch dir_or_file cmd_to_execude_when_arg1_is_changed

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: inotifywait alternative command for Mac?

Low Risk

The StackOverflow question you've quoted has been added another answer - there's utility right there in Homebrew. Please note command is more similar to , not . Means, instead of one-shot waiting for file changes and then exiting, it enters an infin…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment