fswatch not running script, reports as not found

266 Views Asked by At

I have a script in ~/bin called go_refresh. It's definitely there. I run fswatch like so:

fswatch -o /usr/local/var/www/wp_sites/test/wp-content/themes/test/style.css | xargs -n1 -I{} ~/bin/go_refresh

When I change the file, I get this error once:

xargs: /Users/my_dir/bin/go_refresh: No such file or directory

And the script doesn't run.

0

There are 0 best solutions below