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.
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.
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.