Questions tagged [entr]
For questions about the Event Notify Test Runner (entr), a tool to run arbitrary commands when files change on Unix-like operating systems.
4
questions
0
votes
2
answers
182
views
exit from entr inside script
After some googling, I found the entr utility to run a command on a file update. I can get it working, but unfortunately, I'm unable to exit from it.
The literature about it isn't much and quite vague ...
3
votes
1
answer
371
views
Stop entr from running twice when file is saved from vim
I am trying to automate running any Python file in a directory when the file is saved. That way, the doctests will run, and I don't have to switch away from the editor.
My problem is that whenever I ...
1
vote
1
answer
693
views
Using "entr" to watch files, can I make it re-run the command after *every* file change?
entr seems to only rerun the command for changes that happen after the command has finished running. But I use this for rerunning tests after modifying my code. If I make a change to the source while ...
1
vote
4
answers
1k
views
Run command on single file when changed with some shell magic (e.g replace extension)
I am writing several .gv files (graphviz) in the same directory and want to create a png file with neato immediately when I have saved one of them. I am on macOS 10.12.6, with zsh as my default shell, ...