How to make a refresh in browser with gulp
问题 I have an app is in iis, it is an app made in angularjs and webapi C # 2.0, I would like to create a task that updates the browser as soon as I save any js file. Version of gulp: 3.9.1 gulp.task('livereload', function () { gulp.watch(config.files.js); }); 回答1: gulp-livereload A lightweight gulp plugin for livereload to be used with the livereload chrome extension or a livereload middleware. Simple to setup: var gulp = require('gulp'), less = require('gulp-less'), livereload = require('gulp