Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialShaun Taylor
2,654 PointsSublime Text not refreshing properly?
Hi,
I'm having a bit of an issue with sublime text (at least I think its sublime text).
When I change the cod in a page, flick over to my browser (Safari) and hit reload page (command + R) - it refreshes the page but the change hasn't happened - if I wait a while and try it again, the change appears.
Can somebody tell me why this change isn't instant? sublime is editing files in my directory - Safari is displaying said file - so why the delay?
I'm developing a Wordpress site - perhaps there are settings in Wordpress? I've tried emptying the Cache before refresh and it doesn't seem to fix it.
Anyone having or had the same problem and fixed it?
Many thanks,
Shaun.
3 Answers
George S-T
6,624 PointsAre you saving the document in Sublime before refreshing the page?
Shaun Taylor
2,654 PointsI am, yes...
However, I've just been working on the CSS and that seems to update as soon as I refresh the browser (after saving the sublime file of course).
My original problem was when working on the template files, changing, saving, refreshing, so I wonder if that could be the issue?
Thanks for the reply :)
George S-T
6,624 PointsNo problem, glad it works.
Shaun Taylor
2,654 PointsSorry, it doesn't work, still doesn't refresh when working on template files