okkur / syna

Highly customizable open source theme for Hugo based static websites
https://syna.okkur.org/demo/
Apache License 2.0
250 stars 134 forks source link

livereload.js not found on GAE #793

Closed romain-berthe closed 4 years ago

romain-berthe commented 4 years ago

BUG REPORT or FEATURE REQUEST?: bug

What happened: The website perfectly works locally, but once pushed on Google AppEngine, I have a 404 error on livereload.js. and my SVG images are not loaded.

What you expected to happen: All JS files should be located on my "public/script" folder but I cannot found the livereload.js file.

How to reproduce it (as minimally and precisely as possible): Here is my app.yaml file:

`runtime: python37

instance_class: F1

handlers:

Anything else we need to know?: How the livereload.js is generated ? I'm not even able to locate this file locally (but can get it when I call https://localhost:1313/livereload.js

Environment:

Thanks !

romain-berthe commented 4 years ago

I found my answer, livereload is used to reload the website content each time we apply a modification.

It is not related to my SVG issue.

stp-ip commented 4 years ago

Yeah livereload is a Hugo thing helping during development. It's only injected with the development server and not with the final static files.