Why does my page change edits after I refresh it?

Posted August 6, 2016 3k views
Ruby on RailsUbuntuDeployment

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?


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.

Submit an Answer
2 answers

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