With my basic understanding I think I've tacked down the problem most of the way. When these are set (it seems that, contrary to the field descriptions they must be set for things to work properly) because they append arguments to the url ('?host=&port= The settings for my omega4 subtheme under development for livereload has three fields, the last two being host and port. These arguments are parsed via livereload.js. ![]() I downloaded the lastest version of livereload.js:īut on line 191 my debugger shows this._url has null for the hostname so i have to manually set the hostname at line 141 replacing with the hostname. I've also tried placing livereload options into the themes. ![]() I couldn't track it down further than this, as I'm not drupal js expert. Restarted guard with 'drush guard-omega omg' in my subtheme (omg) directory at: I've cleared cache (not sure it even matters). When starting, I *do not* get a browser connected message. I get: Compilation took 1.228sġ5:58:16 - INFO - Guard::Compass is watching at your stylesheets.ġ5:58:16 - INFO - LiveReload is waiting for a browser to connect.ġ5:58:16 - INFO - Guard is now watching at '/media/storage1/software/workspace/mysite/sites/all/themes/omg'Ĭhanges will compile, and a refresh of the page will show those changes. I've (re)run 'gem install guard-livereload'. I'm using the default Guardfile which includes: guard :livereload do #Livereload change to local host install Same in firefox and chrome (even in incognito mode with extensions disabled). I have not installed any special plugins to either browser (should I have?). ![]() I can't seem to get any 'browser connected' msgs in the guard output. It seems that both browsers complain of not being able to find livereload. In chrome the consol shows a red x then "GET "Īnd the inspect function of firefox when I try and view this js using the source code bowser says: Firefox 'net' tab in firebug says 'aborted' for status. #Livereload change to local host install.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |