codefoster | Fast Refresh... Nugget!
Jeremy Foster
@codefoster

Fast Refresh... Nugget!

by Jeremy Foster 18. June 2012 14:59

imageHey, Metro developers, if you’re using HTML/JS to build your apps, I have a little golden nugget for you. Actually, it’s possible you already know and I’m the one that’s late to the game. Anyway, have you ever made a little tiny tweak to your HTML structure, a slight mod to your CSS style, or a little enhancement to your JavaScript and wanted to see the change effect immediately instead of relaunching your app each time? It’s a valid desire. My last job was website development and so I’m used to the whole save, switch, refresh workflow.

If you’re working without the debugger attached, then you know it’s not that difficult, you just hit CTRL + F5 again.

If you are working with the debugger attached, however, you might think you have to stop (SHIFT + F5) and then start again (F5). Actually, though, all you have to do is hit F4 (Fast Refresh is how we call that)! Now that’s handy!

Tags:

JavaScript | Windows 8

Comments (1) -

Matt
Matt United States
6/20/2012 9:01:33 AM #

Thanks Jeremy.  I've been using CTRL + F5 since you mentioned that nugget at one of the W8 events a month ago.  It's been a real time saver!

Reply

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Feed Subscribe