[m-users.] GitHub release: mercury-rinse-repeat. A simplistic file watcher -- action runner

Sean Charles (emacstheviking) objitsu at gmail.com
Mon Aug 15 05:05:28 AEST 2022


Hi,

In case anybody might be looking for some simple code that shows how to call "C" code and also have a utility that watches files for their modification timestamp(s) to change, then run a command and rinse-repeat forever.

It builds on a sample program I released last week, if you find it useful my name was Sean, if not, my name was Donald.

https://github.com/emacstheviking/mercury-rinse-repeat <https://github.com/emacstheviking/mercury-rinse-repeat>

I wrote it to drive my Literate Programming tangle/weave tool which I am almost ready to publish as well, it just needs some very minor tweaks before it passes muster. It's fashioned after `noweb`, in fact the syntax for blocks is the same, I took inspiration from it as I have used it in the past to produce working sellable Drupal modules back in the bad old days.

The program is VERY simple and VERY naive but that's all I needed and it works for me.

Thanks for all the comments along the way,

Sean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20220814/d3cdd7ea/attachment.html>


More information about the users mailing list