mozilla / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
176 stars 278 forks source link

Hook up the reload button in thimble to reload the livedev preview. #146

Closed AJDBenner closed 9 years ago

AJDBenner commented 9 years ago

Right now clicking on the reload button in thimble does nothing. We want to make the button reload the rendered html document when pushed.

puzzledShark commented 9 years ago

This feature was proposed by, well, me a while ago, but we didn't need it back then. You should bring this up with @humphd to see how you should proceed with this. If all we wanted to do was refresh the content then:

  1. Hook up reload button to executeCommand inside Bramble Proxy
  2. Make a new command inside executeCommand to send a reload command to brackets-livedev
  3. Add another command to receive inside the listener
  4. Add a new public method in iframe browser in order to refresh
AJDBenner commented 9 years ago

This PR and this are a WIP to fix this issue.