Skip to content

clog-web: how to reload content? #80

Answered by rabbibotton
vindarel asked this question in Q&A
Discussion options

You must be logged in to vote

When you recompile the on-new-window handler you need to set it again with set-on-new-window as the path is still pointing to the old compiled code. (set-on-new-window #'on-new-window)

Alternatively you can use (set-on-new-window 'on-new-window) ie using the symbol instead of the function symbol and you no longer have to set each time the handler can do that also in INITIALIZE.

Another alternative is to not place the code to write the page in your on-new-window-handler but have the on-new-window-handler call another function and recompile that function instead.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@smvamse
Comment options

@aykaramba
Comment options

Comment options

You must be logged in to vote
2 replies
@aykaramba
Comment options

@vindarel
Comment options

Answer selected by rabbibotton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants