Some things have happened lately. Firefox 4 beta supports WebSockets. LiveReload pops out and its server is using WebSockets. As I see it, next reasonable steps would be:
- WebSockets-based XRefresh for Firefox
- The same file monitoring server for XRefresh and LiveReload
Current response format of LiveReload is just a filename string, like main.css or index.html. I think we should send full path, like /Users/nikitavasilev/Sites/tmp/test.html. Some benefits:
- The filename doesn't work well when few CSS/JS-files named the same. For instance,
foo/main.css and bar/main.css.
- A full path will allow as to do a "strict mode" when we edit something on
file:// scheme.
darwin, how hard would be to port XRefresh to WebSockets?
LiveReload developers (andreyvit and dottedmag), what do you think about the same server?
Some things have happened lately. Firefox 4 beta supports WebSockets. LiveReload pops out and its server is using WebSockets. As I see it, next reasonable steps would be:
Current response format of LiveReload is just a filename string, like
main.cssorindex.html. I think we should send full path, like/Users/nikitavasilev/Sites/tmp/test.html. Some benefits:foo/main.cssandbar/main.css.file://scheme.darwin, how hard would be to port XRefresh to WebSockets?
LiveReload developers (andreyvit and dottedmag), what do you think about the same server?