Question

Can't change static files on ghost

When I change a static file (handlebars or css) from the digitalocean console in my ghost blog… and I restart the server, ir does not change… what can I do?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

A lot of stuff is baked in with Ghost and by default you cannot serve static files from your disk. This can be easily modified by following this guide which will let you specify a location for serving static files. I’d recommend modifying your theme to use the static directory for assets you intend to change often.