CLI Toolbox
entr
Use entr
to execute a command every time a file is modified. For example, to watch the changes on a PDF file with a Markdown source while you edit it.
echo input_file.md | entr pandoc input_file.md -o output_file.pdf
Use entr
to execute a command every time a file is modified. For example, to watch the changes on a PDF file with a Markdown source while you edit it.
echo input_file.md | entr pandoc input_file.md -o output_file.pdf