directory-require.rkt is not reloaded when changed
#64
Closed
opened 10 years ago by wolverian
·
3 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
While
raco pollen start
is running, changingdirectory-require.rkt
doesn't seem to have any effect. Would it be possible to change this so that when changes are made to that file the server notices that and reloads the appropriate stuff?It is, in principle, supposed to reload, but that’s become less dependable as I’ve added caches for speed. I’m in the midst of rethinking the cache-invalidation mechanisms. It may also be worthwhile to add a “development” mode that disables all the caches.
Relatedly: https://github.com/plt/racket/issues/971
Still working on the big-picture fix. As a workaround, you can now turn off the compile cache, so everything in the page gets recompiled every time (slower but has the side effect of reloading "directory-require.rkt" as well).
To turn off the compile cache, add the following
config
submodule to your "directory-require.rkt" file: