[racket-dev] file change notifications

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Feb 3 02:26:26 EST 2015

It's good to know that canceling a filesystem-change event can be
expensive on Windows, in which case they probably shouldn't be used on
Windows when resolving module paths. I'll investigate more and remove
the use.

Meanwhile, there's not a good way to disable the current use in v6.1,
but the hack

  (unsafe-vector-set! (system-type 'fs-change) 2 #f)

should work to disable it.


At Mon, 2 Feb 2015 12:14:12 -0800, Dan Liebgold wrote:
> Hi -
> 
> I'm doing a little profiling of Racket 6.1 on windows. It seems like
> cancelling a filesystem-change-evt can take many seconds, and one is
> cancelled for the addon-dir directory (which defaults to my roaming
> profile) during every run. I think it interacts badly with my virus checker.
> 
> Is there a way to disable this? I'm not using the addon-dir, so any
> notifications shouldn't be important.
> 
> Thanks,
> -- 
> Dan Liebgold    [dan.liebgold at gmail.com]
> _________________________
>   Racket Developers list:
>   http://lists.racket-lang.org/dev

Posted on the dev mailing list.