Created
August 29, 2014 17:10
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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