💻 Software
How to automatically launch a shell script when content of a given directory is changed
Fresh6 days ago
Mar 15, 20263503 viewsConfidence Score0%
0%
Problem
I'm developing a web project using some libraries that force me to launch a shell command to compile some files everytime i modify them. This task is obviously tiresome and i'm looking to find some script to handle it (I'm on OSX). Is there a way to automatically launch a shell script when content …
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to automatically launch a shell script when content of a given directory is changed
Low Risk
Mac OSX has two filesystem notification APIs: kqueue and FSEvents. I don't know about commands that give you access to them without programming. There is a python binding for FSEvents. See also View Filesystem Access in Real Time on Mac OS X. Given …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix