Skip to content

Commit

Permalink
updated package
Browse files Browse the repository at this point in the history
  • Loading branch information
jonniespratley committed Dec 17, 2014
1 parent 9d1149e commit ac8c8e7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
16 changes: 13 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ var coffee = require('gulp-coffee');
var uglify = require('gulp-uglify');
var protractor = require('gulp-protractor').protractor;

var server = require('gulp-server-livereload');

gulp.task('webserver', function() {
gulp.src('app')
.pipe(server({
livereload: true,
defaultFile: 'index.html',
directoryListing: true,
open: true
}));
});


gulp.task('clean', function(cb) {
del(['build'], cb);
Expand Down Expand Up @@ -40,9 +52,7 @@ gulp.task('watch', function () {
});




gulp.task('test', ['js:test'], function(){
gulp.task('test:e2e', ['js:test'], function(){
gulp.src(['./.tmp/protractor/**/*-spec.js'])
.pipe(protractor({
configFile: 'protractor.conf.js'
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"gulp-ng-templates": "0.0.5",
"gulp-ngmin": "^0.3.0",
"gulp-protractor": "0.0.12",
"gulp-server-livereload": "^1.0.1",
"gulp-uglify": "^1.0.2",
"intern": "^2.2.2",
"jasmine-core": "^2.1.2",
Expand Down

0 comments on commit ac8c8e7

Please sign in to comment.