Skip to content

Entr, a utility to run commands when files change

Michael Watts edited this page Dec 19, 2016 · 2 revisions

Run arbitrary commands when files change

See website

Example 1, run rspec when changing any file

ls **/*.* | entr rspec

Example 2, refresh browser when changing html or css or js files

ls *.css *.html *.js | entr reload-browser Firefox

reload-browser is a simple script which uses xdotool or AppleScript to send a refresh keystroke to the active tab in your browser.

SSH

2 Best practices when logging in remotely to linux machine

WARGAMES

Clone this wiki locally