problem in regenerate #1

Closed
opened 10 years ago by mbutterick · 1 comments
mbutterick commented 10 years ago (Migrated from github.com)

If a page is regenerated directly by passing it to pollen-command, and has a syntax error, it gets swallowed by this code (which redirects the error port):

(define file-was-reloaded-port (open-output-string)) (parameterize ([current-directory source-dir] [current-error-port file-was-reloaded-port]) ; by default, rerequire reports reloads to error port. ; so capture this message to find out if anything was reloaded. (dynamic-rerequire source-path))

If a page is regenerated directly by passing it to pollen-command, and has a syntax error, it gets swallowed by this code (which redirects the error port): `(define file-was-reloaded-port (open-output-string)) (parameterize ([current-directory source-dir] [current-error-port file-was-reloaded-port]) ; by default, rerequire reports reloads to error port. ; so capture this message to find out if anything was reloaded. (dynamic-rerequire source-path))`
mbutterick commented 10 years ago (Migrated from github.com)

Obsolete

Obsolete
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen#1
Loading…
There is no content yet.