Skip to content

Instantly share code, notes, and snippets.

@yang-wei
Created August 29, 2014 17:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yang-wei/94d7d62901a32d302afc to your computer and use it in GitHub Desktop.
Save yang-wei/94d7d62901a32d302afc to your computer and use it in GitHub Desktop.
set grunt-este-watch livereload to work in host browser when using vagrant to host server
esteWatch:
options:
dirs: [
'<%= app_path %>/**/' # Set all directories here
]
livereload:
enabled: true
extensions: ['html', 'css', 'php', 'twig'] # File extensions to be watched
port: 8888 # set vagrant forwarded_port number, default is 35729
# Also manually insert <script src="localhost:8888/livereload.js"></script>
# in the template you wish to watch during devolopment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment