When I write a LaTeX document, I find myself to press F6 in my editor to compile often. Or when I use SASS, I often type make
to convert my .scss
into .css
.
Now I would like to let the machine do the dirty work and run make
or something else every time a given file change.
So far I kept a terminal window open and pressed arrow-up and return. Or I used watch make
, but that seems like an odd solution.
Is there a nice way on Linux to do something when a given file changes?