Search code examples
javascriptmeteorlocalhostrefresh

Localhost not recording changes to code?


I'm making changes locally to my code. When I save the code in Atom, then refresh over localhost, the changes are not being displayed in the browser. What are the possible reasons for this?


Solution

  • Not really a solution, but mistakes that I sometimes do:
    1. Cross check carefully if its the same file that your are editing, and the one that's run in the terminal, and browser.
    2. Also carefully check, when you save the file, is the terminal refreshing the client, or restarting the server.
    I have highlighted carefully, because it's happened to me, and I have seen it happen with my colleagues.