Added Local Environment Iframe Reload Button #5

Merged
merged 6 commits into from Dec 2, 2012

Conversation

Projects
None yet
2 participants
@christiannaths
Contributor

christiannaths commented Nov 17, 2012

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 :)

@christiannaths

This comment has been minimized.

Show comment Hide comment
@christiannaths

christiannaths Nov 17, 2012

Contributor
Contributor

christiannaths commented Nov 17, 2012

@Victa

This comment has been minimized.

Show comment Hide comment
@Victa

Victa Nov 17, 2012

Owner

Awesome :) I'll take a look on this tomorrow. Thanks!

Owner

Victa commented Nov 17, 2012

Awesome :) I'll take a look on this tomorrow. Thanks!

Victa added a commit that referenced this pull request Dec 2, 2012

Merge pull request #5 from christiannaths/master
Added Local Environment Iframe Reload Button

@Victa Victa merged commit 68818bd into Victa:master Dec 2, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment