-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathlivereload.node.txt
17 lines (15 loc) · 1.26 KB
/
livereload.node.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
┏━━━━━━━━━━━━━━━━┓
┃ LIVERELOAD ┃
┗━━━━━━━━━━━━━━━━┛
GULP-LIVERELOAD.listen([OBJ]) #Starts a Livereload server on port 35729. It notifies clients when files changed.
GULP.watch(...).on #Version 2.1.1
("change",LIVERELOAD.changed) #Clients can be either:
# - Chrome|Firefox extensions:
# - refresh page having loaded changed file.
# - Must click on icon to enable it (black enabled, green disabled)
# - Must allow local files from chrome://extensions if using file:/// URLs
# - If CSS/image, changes resource without reloading full page.
# - Load JavaScript file (works on any browser, including iOS but not Android) hosted on
# Livereload server at http://DOMAIN:35729/livereload.js?snipver=1 (DOMAIN ex. "localhost")
# Has less features. Should not be used in production.
#Can use OBJ.silent true