Purpose of page reloading #302
|
As described in the fresh documentation it ships with zero js bundles but I tried running the application (using main.ts). It did work alright but I can see in my network tab and in the sources tab that there's a What's the purpose of this script as fresh is supposed to ship with zero js in the client so I am not sure if it's an error on my side or it's by design. |
Answered by
lucacasonato
Jun 29, 2022
Replies: 1 comment
|
@lance1997 This script is only shipped during development (when |
0 replies
Answer selected by
discoverlance-com
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@lance1997 This script is only shipped during development (when
DENO_DEPLOYMENT_IDis unset). It reloads the page automatically when you change some code on the server. This is commonly referred to as hot refresh.