Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
How to monitor a specific file for changes
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Andrew Gacek <andrew.gacek@g...>
Subject: Re: [Caml-list] How to monitor a specific file for changes
The OMake build system ( is written in OCaml and has
support for monitoring the file system for changes (at least on Win32
and Linux). You might take a look at the source code for that system
and see what they use.


On 10/22/07, Orlin Grigorov <> wrote:
> Hi.
> This time I've done my research, but still I cannot find a good answer.
> Basically, I need to make a little ocaml process, which runs in the
> background and monitors a specific file for changes.   When a change occurs,
> I want it to back-up a copy of the version of the file at that moment.
> So, what I need is to set some signal or event, which will happen every time
> that file is changed.
> Can you guys help me do it?
> Thank you in advance!
> Orlin
> PS. If in any way I'm misusing this list (writing too much, or out of
> topic), please tell me, because I just don't know it.  The least I want is
> to spam the list with improper questions.
> _______________________________________________
> Caml-list mailing list. Subscription management:
> Archives:
> Beginner's list:
> Bug reports: