caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Simon Cruanes <simon.cruanes.2007@m4x.org>
To: Jun Furuse <jun.furuse@gmail.com>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] [ANN] dune_watch, a small tool to relaunch jbuilder build at file system updates
Date: Tue, 2 Jan 2018 13:17:21 +0100	[thread overview]
Message-ID: <20180102121721.GB25836@carty> (raw)
In-Reply-To: <CAAoLEWutThMt=F2B8woQcEnUt2A85JS0U1FvfEP77GgbtYSL5A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 353 bytes --]

I've been using a small script for the same purpose for a while now (as
a Makefile target):

watch:
	while find src/ -print0 | xargs -0 inotifywait -e delete_self -e modify ; do \
        jbuilder build @install; \
	done

-- 
Simon Cruanes

http://weusepgp.info/
key 49AA62B6, fingerprint 949F EB87 8F06 59C6 D7D3  7D8D 4AC0 1D08 49AA 62B6

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2018-01-02 12:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-02 12:13 Jun Furuse
2018-01-02 12:17 ` Simon Cruanes [this message]
2018-01-02 12:31   ` Xavier Clerc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180102121721.GB25836@carty \
    --to=simon.cruanes.2007@m4x.org \
    --cc=caml-list@inria.fr \
    --cc=jun.furuse@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).