Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Timestamp: Wed, 18 Jul 2012 21:33:18 UTC
Message: 'this.reloader' is null or not an object
I'm using the latest Beta: v2.3.14
I am getting an error in a virtual box, is IE8 supported?
I think IE8 is not supported and neither is IE9, my VM works fine with Chrome but not IE8 or IE9.
No WebSocket = no support.
Don't fret, however. I am adding Flash-based WebSocket emulator (https://github.com/gimite/web-socket-js) to the package. This needs server support, which will go into Python-livereload (https://github.com/lepture/python-livereload) first. It's possible official LiveReload will pick it up thereafter.
I'd say you'll see "anything that can run Flash" being added to the list of supported browsers in next few weeks, as long as the LiveReload server will support Flash-specific bits.
Thanks for confirming and thanks for getting flash websocket support! This will be awesome!
Works* in IE now.
The IE extension:
If you target IE older than v10 you also need a new LiveReload-supporting server:
(Windows binary is in Downloads section)
Awesome, I will be giving it a try soon! Thanks for all your work on this!
Could you make the code guard against unsupported browsers though? It seems to push blindly forwards, which makes no sense when the browser is not supported and reloader is null, leading to the aforementioned error. At least addPlugin() is the culprit here, possibly more.
You can use Modernizr to guard against non supported browsers. Take out your <script> tag that links to livereload.js and replace it with this
yep : window.location.protocol + '//' + window.location.host + ':35729/livereload.js'
Assuming that you have the livereload.js available at the domain at port 35729. Also remember that your modernizr build must test for websockets.