From 66fa2371ae73046cc4d3e5b0ca586d1c6a5c2631 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Sat, 11 Jul 2015 14:04:01 -0700 Subject: [PATCH] reset cache before command-line render --- command.rkt | 1 + 1 file changed, 1 insertion(+) diff --git a/command.rkt b/command.rkt index f79a958..6e3d7fa 100644 --- a/command.rkt +++ b/command.rkt @@ -60,6 +60,7 @@ version print the version (~a)" (world:current-server-port) (worl (define (handle-render path-args) (parameterize ([current-directory (world:current-project-root)]) + ((dynamic-require 'pollen/cache 'reset-cache)) (define first-arg (car path-args)) (if (directory-exists? first-arg) (let ([dir first-arg]) ; now we know it's a dir