lingon-livereload
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -0,5 +1,6 @@ | ||
'use strict'; | ||
var gulp = require('gulp'), | ||
jshint = require('gulp-jshint'), | ||
mocha = require('gulp-mocha'), | ||
notify = require('gulp-notify'); | ||
mocha = require('gulp-mocha'); | ||
@@ -11,6 +12,5 @@ gulp.task('jshint', function() { | ||
.pipe(jshint.reporter('fail') | ||
.on('error', function() { this.emit('end') }) // don't kill gulp | ||
) | ||
.on('error', notify.onError('<%= error.message %>')); | ||
}) | ||
.on('error', function() { this.emit('end'); }) | ||
); | ||
}); | ||
@@ -20,11 +20,10 @@ gulp.task('test', function() { | ||
.pipe(mocha({reporter: 'spec'}) | ||
.on('error', function() { this.emit('end') }) | ||
) | ||
.on('error', notify.onError('<%= error.message %>')); | ||
}) | ||
.on('error', function() { this.emit('end'); }) | ||
); | ||
}); | ||
gulp.task('watch', function() { | ||
gulp.watch(['./lib/*', './test/*'], ['jshint', 'test']); | ||
}) | ||
}); | ||
gulp.task('default', ['jshint', 'test', 'watch']); |
@@ -18,3 +18,3 @@ 'use strict'; | ||
})); | ||
}) | ||
}); | ||
@@ -21,0 +21,0 @@ // start the livereload server |
{ | ||
"name": "lingon-livereload", | ||
"description": "Livereload plugin for Lingon", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"homepage": "https://github.com/javoire/lingon-livereload", | ||
@@ -32,8 +32,7 @@ "author": { | ||
"devDependencies": { | ||
"lingon": "git://github.com/jpettersson/lingon.git", | ||
"gulp": "~3.6.0", | ||
"gulp": "^3.8.7", | ||
"gulp-jshint": "~1.5.0", | ||
"gulp-mocha": "~0.4.1", | ||
"gulp-jshint": "~1.5.0", | ||
"jshint-stylish": "~0.1.5", | ||
"gulp-notify": "~1.0.0-beta" | ||
"lingon": "git://github.com/jpettersson/lingon.git" | ||
}, | ||
@@ -47,2 +46,2 @@ "engines": { | ||
] | ||
} | ||
} |
@@ -45,3 +45,3 @@ # Lingon Livereload | ||
* ~~Automatically inject the livereload browser script in index.html~~ | ||
* Automatically add available file extensions from the source folder for livereload to watch | ||
* Automatically add available file extensions from the source folder for livereload to watch for changes. | ||
* Enable css to be injected live. The current integration doesn't support it. | ||
@@ -48,0 +48,0 @@ |
@@ -6,3 +6,2 @@ 'use strict'; | ||
// retarded test | ||
describe('lingon-livereload', function() { | ||
@@ -9,0 +8,0 @@ it('should init', function() { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6619
5
11
53