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.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@lance1997 This script is only shipped during development (when |
Beta Was this translation helpful? Give feedback.
@lance1997 This script is only shipped during development (when
DENO_DEPLOYMENT_ID
is unset). It reloads the page automatically when you change some code on the server. This is commonly referred to as hot refresh.