
fswatch
List of commands for fswatch:
-
fswatch:tldr:6dca5 fswatch: Watch one or more files and/or directories.$ fswatch ${filename} ${path-to-directory} ${path-to-another_directory-**-*-js} | xargs -n 1 ${bash_command}try on your machineexplain this command
-
fswatch:tldr:d1ad2 fswatch: Filter by event type.$ fswatch --event ${select} ${path-to-directory} | xargs -n 1 ${bash_command}try on your machineexplain this command
-
fswatch:tldr:d75fd fswatch: Print the absolute paths of the changed files.$ fswatch ${path-to-directory} | xargs -n 1 -I {} echo {}try on your machineexplain this command
-
fswatch:tldr:f52ce fswatch: Run a Bash command on file creation, update or deletion.$ fswatch ${filename} | xargs -n 1 ${bash_command}try on your machineexplain this command