Re: [racket-users] How to watch the filesystem

2017-01-21 Thread David Storrs
Thanks, Dupéron, that's helpful. On Fri, Jan 20, 2017 at 8:35 PM, Dupéron Georges wrote: > Le vendredi 20 janvier 2017 19:47:11 UTC+1, David K. Storrs a écrit : >> I see that I can get the event telling me that something changed. As >> far as I can tell the event

Re: [racket-users] How to watch the filesystem

2017-01-20 Thread Dupéron Georges
Le vendredi 20 janvier 2017 19:47:11 UTC+1, David K. Storrs a écrit : > I see that I can get the event telling me that something changed. As > far as I can tell the event contains no information about *what* > changed, it simply alerts that *something* changed. Likewise, the > monitor is only

Re: [racket-users] How to watch the filesystem

2017-01-20 Thread David Storrs
[realized I sent my prior response to Neil alone. Summary was: Thank you!] I see that I can get the event telling me that something changed. As far as I can tell the event contains no information about *what* changed, it simply alerts that *something* changed. Likewise, the monitor is only

Re: [racket-users] How to watch the filesystem

2017-01-19 Thread Philip McGrath
Because you mentioned "the user moved the mouse", note that mouse-event% and other things referred to as "events" in the GUI library are not synchronizable events that can be used with sync. -Philip On Thu, Jan 19, 2017 at 2:58 PM, Neil Van Dyke wrote: > David Storrs

Re: [racket-users] How to watch the filesystem

2017-01-19 Thread Neil Van Dyke
David Storrs wrote on 01/19/2017 03:08 PM: of events but I still know nothing about detecting filesystem change events. I've looked through PLaneT and found nothing that seems like an FS-monitoring package. Can anyone suggest how to do this? Here's a simple example, using `sync`: #lang

[racket-users] How to watch the filesystem

2017-01-19 Thread David Storrs
I need to write something that will notice when a change happens in a directory (file added, delete, modified, etc) and let me take action based on that. I was excited when I saw Racket's "Detecting Filesystem Changes"