x/pgksite: dev mode doesn't actually serve non-minified JS #42540
Labels
Milestone
Comments
Related to #40960 |
Thanks for bringing this up, we definitely want to tackle this as part of #40960. More detailed plans coming soon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The usage of
./cmd/frontend
says:However, from some experimentation this doesn't appear to be happening. If I modify a .js file and re-run the frontend, the modification is not applied until I compile the .js file into a minified version with
./devtools/compile_js.sh
.Perhaps I'm holding it wrong?
A quick look at the code makes me believe this indeed isn't implemented. While in devMode the server calls
parsePageTemplates
anew each time a template is requested, the template files directly refer to minified JS, e.g.:The text was updated successfully, but these errors were encountered: