mozilla / r2d2b2g

Firefox OS Simulator is a test environment for Firefox OS. Use it to test your apps in a Firefox OS-like environment that looks and feels like a mobile phone.
https://addons.mozilla.org/en-US/firefox/addon/firefox-os-simulator/
Other
392 stars 139 forks source link

Programmatic Reload of App #798

Open fskreuz opened 11 years ago

fskreuz commented 11 years ago

I came up with this hack which allows "live reload" of the code in FirefoxOS Simulator by setting up Grunt to watch over the files of the app and if changes occur, have xdotool to grab the simulator and send CTRL+R to the window. Basically, it's like doing LiveReload. It's a bit hackish and it reloads the simulator as a whole (no particular app targeted). But it does work.

However, unless I'm missing an already existing feature here, It would be nice if there was a interface where we can have external tools (like Grunt, but could apply to any) hook into the Simulator and allow for "live reload" or at least trigger the simulator to reload programmatically.