Question

Why does my page change edits after I refresh it?

Let me clarify; I have a rails project that I just created from a git clone. I edit the files on Sublime 3 using an SFTP connection. Every time I edit a file, I refresh the page to see my edit(s) work. When I refresh a second time, I see what my edits looked before I made them. I can continue this cycle. The only way I can solve this is by turning off my droplet, and then turning it back on. Although this way works, it gets annoying quick, and I feel like I am doing something wrong. Any advise?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @MateoC:

Yes restarting the application works, I used to power off the server, but now I just do “service unicorn restart”

View the original comment

This comment has been deleted