From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id D4B3A82355 for ; Tue, 2 Jan 2018 13:31:45 +0100 (CET) Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=xclerc@janestreet.com; spf=Pass smtp.mailfrom=xclerc@janestreet.com; spf=None smtp.helo=postmaster@mxout3.mail.janestreet.com Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of xclerc@janestreet.com) identity=pra; client-ip=38.105.200.229; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="xclerc@janestreet.com"; x-sender="xclerc@janestreet.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of xclerc@janestreet.com designates 38.105.200.229 as permitted sender) identity=mailfrom; client-ip=38.105.200.229; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="xclerc@janestreet.com"; x-sender="xclerc@janestreet.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mxout3.mail.janestreet.com) identity=helo; client-ip=38.105.200.229; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="xclerc@janestreet.com"; x-sender="postmaster@mxout3.mail.janestreet.com"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3AgQ8HqRYlIJV4ZY9hkOO+PpT/LSx+4OfEezUN459i?= =?us-ascii?q?sYplN5qZr8qybnLW6fgltlLVR4KTs6sC17KP9fi4EUU7or+5+EgYd5JNUxJXwe?= =?us-ascii?q?43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRp?= =?us-ascii?q?OOv1BpTSj8Oq3Oyu5pHfeQpFiCagbb9oMBm6s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= =?us-ascii?q?U6oDohFYugAJyFHNj135SEgDf9GYdZMDNoEFeJREfhaYSJQb8nbC+IKYc1gjcA?= =?us-ascii?q?WKKqY40o0xy1qBX3xqYhJe3RrH5L/an/3cR4srWA3So58iZ5WoHEizmA?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0C8AAA6e0tal+XIaSZdH4Q2dCcHhACBO?= =?us-ascii?q?ZgDggGZPwofhRwChCkHQxQBAQEBAQEBAQEBEgEBAQEBCBYGV4I4JAGCRwECAgE?= =?us-ascii?q?jHQEBNwEECwkCBAEGNwICIhIBBQEcBhOKJggDDZQdkR1AiyJugieDCgEBBYcgA?= =?us-ascii?q?QEBAQEBAQMBAQEBAQEBAQEBARUIEoN6ghKBVoRhNoMvAYIbgmqCRSCIZZpshwZ?= =?us-ascii?q?9jTKCfIkdh2RIi2V3iUsUBSCBFzaBcTIaCBsVPTIGgXEJglslgU54AYh+AQEB?= X-IPAS-Result: =?us-ascii?q?A0C8AAA6e0tal+XIaSZdH4Q2dCcHhACBOZgDggGZPwofhRw?= =?us-ascii?q?ChCkHQxQBAQEBAQEBAQEBEgEBAQEBCBYGV4I4JAGCRwECAgEjHQEBNwEECwkCB?= =?us-ascii?q?AEGNwICIhIBBQEcBhOKJggDDZQdkR1AiyJugieDCgEBBYcgAQEBAQEBAQMBAQE?= =?us-ascii?q?BAQEBAQEBARUIEoN6ghKBVoRhNoMvAYIbgmqCRSCIZZpshwZ9jTKCfIkdh2RIi?= =?us-ascii?q?2V3iUsUBSCBFzaBcTIaCBsVPTIGgXEJglslgU54AYh+AQEB?= X-IronPort-AV: E=Sophos;i="5.45,497,1508796000"; d="scan'208,217";a="249875832" Received: from mxout3.mail.janestreet.com ([38.105.200.229]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jan 2018 13:31:44 +0100 Received: from [172.27.56.68] (helo=tot-qpr-mailcore1) by mxout3.mail.janestreet.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1eWLjL-0001DI-9x for caml-list@inria.fr; Tue, 02 Jan 2018 07:31:43 -0500 X-JS-Flow: external X-JS-Scanner-attachment: (ok) No attachments Received: by tot-qpr-mailcore1 with ocaml/mailcore/mailcore 1.0+150 (f43650433205) (envelope-from ) id BaS3uv-2Hd6Ng-JU; 2018-01-02 07:31:43.301822-05:00 Received: from mail-qk0-f197.google.com ([209.85.220.197]) by mxgoog1.mail.janestreet.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1eWLjL-0003pw-8e for caml-list@inria.fr; Tue, 02 Jan 2018 07:31:43 -0500 Received: by mail-qk0-f197.google.com with SMTP id x197so5462960qka.18 for ; Tue, 02 Jan 2018 04:31:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BGLMDvX3H9+2qDIsKjRPD8hN6oM1SduLNLFz7rzEH4U=; b=GBZ8dL95epY9qbuwaAha3vk9BBwYb4qiGd6XejqbJ179FyqnlED9Va8GlvWqbGtuXd umYFqhJbtdn92+B3Iqc3exeY+92yTq+awxqFRu4HGj8aZbAHEZdX4oeZ/ourvtOV1bo5 ZhhCdkOYXTPSzIKcenfIBHLrN5f8zDw9v7XPQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BGLMDvX3H9+2qDIsKjRPD8hN6oM1SduLNLFz7rzEH4U=; b=jiKhaqgi5C/6I5lZLzEQiWv8x/7TQrmW0Vaq4hJQitNSFdCjyox6OhGXJRRz/Y6bq9 0QZLM/zrvhtEXq4Ifep8QBXzSSYP7s0zLQEUUYvYrBu7idhz6YB6zoHnGaAOWsj0+ROt RIijW+C4Jm5v2qSRn2VdUTip8Z0icaKJQvM7gkU+HZMglfbEokGoHIyTC68/+v0Skqgm fmL1FgqrWiP8w+OBV4Mbt1XYnRZVxq+NotpYYRXfADvqU8LStiSMMJjr1eyYQwj7+uW6 CWVfyM9I+GAW426QIIqlBxES1gW/eDVidHcuqaZ773XJ8zbZdlFPN+KpAXxyBLRWbQkM UQag== X-Gm-Message-State: AKGB3mJpeix7rwcljLBMvM3aTyAhH9GGDXA93KIuhRFYIVh6ciICWDrv nzMFEDaXeBg43lHURy8P1Vh41TufVH3N5TlztmOpgn//47fY7KsIz9b1Rx0uYexC5Xd6T7QP7x1 PHqR4XsGSXSVvV3aEJqlVYi8esw== X-Received: by 10.200.25.47 with SMTP id t44mr61442163qtj.323.1514896303030; Tue, 02 Jan 2018 04:31:43 -0800 (PST) X-Google-Smtp-Source: ACJfBot8FXew+lfrWK2wtXTSF//RKhRG7BjDRqhspqbth6OrC7uDeZVacy1+scPQd0xvbSCubaDKpbN9wmDpPDX+hVI= X-Received: by 10.200.25.47 with SMTP id t44mr61442135qtj.323.1514896302528; Tue, 02 Jan 2018 04:31:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.104.163 with HTTP; Tue, 2 Jan 2018 04:31:41 -0800 (PST) In-Reply-To: <20180102121721.GB25836@carty> References: <20180102121721.GB25836@carty> From: Xavier Clerc Date: Tue, 2 Jan 2018 12:31:41 +0000 Message-ID: To: Simon Cruanes Cc: Jun Furuse , caml-list Content-Type: multipart/alternative; boundary="94eb2c148dd6fcc8df0561ca472b" X-JS-Exim-Data-Received: 2018-01-02 07:31:43-0500 X-JS-Processed-by: mailcore Subject: Re: [Caml-list] [ANN] dune_watch, a small tool to relaunch jbuilder build at file system updates --94eb2c148dd6fcc8df0561ca472b Content-Type: text/plain; charset="UTF-8" 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 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 > --94eb2c148dd6fcc8df0561ca472b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 <sim= on.cruanes.2007@m4x.org> wrote:
I've been using a small script for the same purpose for a while no= w (as
a Makefile target):

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

--
Simon Cruanes

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

--94eb2c148dd6fcc8df0561ca472b--