Skip to content

Instantly share code, notes, and snippets.

@LaboratorioEfe5
Last active September 20, 2017 22:31
Show Gist options
  • Save LaboratorioEfe5/54681bd13940bc33827e to your computer and use it in GitHub Desktop.
Save LaboratorioEfe5/54681bd13940bc33827e to your computer and use it in GitHub Desktop.
Easy way to get grunt livereload in vagrant
Install one of these extension packages
- Chrome extension https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei/related
- Firefox http://download.livereload.com/2.0.8/LiveReload-2.0.8.xpi
- Safari http://download.livereload.com/2.0.9/LiveReload-2.0.9.safariextz
configure
- if you want to use it with local files (or vagrant), be sure to enable “Allow access to file URLs” checkbox in Tools > Extensions > LiveReload after installation
In your terminal run:
- grunt watch
In your browser:
- Click the LiveReload toolbar button to enable or disable LiveReload.
more information about livereload extension
http://feedback.livereload.com/knowledgebase/articles/86242-how-do-i-install-and-use-the-browser-extensions-
@vrej
Copy link

vrej commented Sep 20, 2017

I am running Magento on vagrant and installed the extension on my browser but I am getting this error message, any idea?

Could not connect to livereload server. Please make sure that livereload 2.3 or later or another compatible server is running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment