Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Added Local Environment Iframe Reload Button #5
In local environments cssrefresh is not an option, a user who reloads the page loses the bookmarklet frame. This adds a button (only visible in when working on local files) that will reload only the iframe containing the test website, thereby keeping the bookmarklet frame intact and improving iterative testing workflow. This reload also gets mapped to the F5 key and the R key.
To test this, step back 1 commit and use the bookmarklet on the index.html page, then open a local HTML file and apply the bookmarklet.
I'm already using this extensively in Chrome (I like to test responsive layout experiments with local files, just using sass --watch for css), and it works great. It also doesn't change the functionality at all when working on files in a server environment.
Any questions, just ask :)