A common problem is refreshing a browser, noticing no change, assuming your code is wrong, attempting to fix it, no worky, and then after a long time realizing that you had simply never saved the file and probably your code was fine the whole time.
In walks Sublime! Go to "Preferences" then "Settings – User" and add the following line:
"save_on_focus_lost": true,
And you are done! Now every time that file in Sublime no longer has focus, it will automatically save.