> On Apr 22, 2019, at 11:26 AM, Joel Dueck <[email protected]> wrote: > > But based on what you said I would have expected the subsequent render to > take less time than the preheat.
I sent you a PR with a fix. I think the problem is that in your `setup` module, you're using relative paths instead of absolute paths made with `define-runtime-path`. [1] The result is that the cache keys don't match when they should, so you're getting cache misses. [1] https://docs.racket-lang.org/pollen/Setup.html?q=pollen%2Fsetup#%28def._%28%28lib._pollen%2Fsetup..rkt%29._setup~3acache-watchlist%29%29 <https://docs.racket-lang.org/pollen/Setup.html?q=pollen/setup#(def._((lib._pollen/setup..rkt)._setup~3acache-watchlist))> > (Incidentally: through trial and [non-] error I discovered I can specify a > subdirectory after `raco pollen setup` and limit it to those files. I was > glad to see this was possible, but it isn't in the docs!) > The docs for `raco pollen setup` do say that it takes a directory argument. But you're right that it calls it a "different project directory" when it will in fact work on any directory. I will clarify the docs. [2] https://docs.racket-lang.org/pollen/raco-pollen.html?q=raco%20pollen%20setup#%28part._raco_pollen_setup%29 <https://docs.racket-lang.org/pollen/raco-pollen.html?q=raco%20pollen%20setup#(part._raco_pollen_setup)> -- You received this message because you are subscribed to the Google Groups "Pollen" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
