From: Xavier Clerc <xclerc@janestreet.com>
To: Simon Cruanes <simon.cruanes.2007@m4x.org>
Cc: Jun Furuse <jun.furuse@gmail.com>, 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 12:31:41 +0000 [thread overview]
Message-ID: <CAGi3Gpy7XsmMmX6HnhFiJGxcG203zBS-g7HmL_6kz1b=qvPvPw@mail.gmail.com> (raw)
In-Reply-To: <20180102121721.GB25836@carty>
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
I found watchman (https://facebook.github.io/watchman/) to be useful
in this kind of situation.
On Tue, Jan 2, 2018 at 12:17 PM, Simon Cruanes <simon.cruanes.2007@m4x.org>
wrote:
> 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: Type: text/html, Size: 1104 bytes --]
prev parent reply other threads:[~2018-01-02 12:31 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
2018-01-02 12:31 ` Xavier Clerc [this message]
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='CAGi3Gpy7XsmMmX6HnhFiJGxcG203zBS-g7HmL_6kz1b=qvPvPw@mail.gmail.com' \
--to=xclerc@janestreet.com \
--cc=caml-list@inria.fr \
--cc=jun.furuse@gmail.com \
--cc=simon.cruanes.2007@m4x.org \
/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