Commit 5f4e47fe8fde7e9b07499bd0d291bb8c80137451

Authored by --global
Exists in master

Merge branch 'master' of http://git.focasoftware.com/npm/wrapper-demo

... ... @@ -41,7 +41,7 @@ gulp.task('html', function() {
41 41 gulp.src(paths.srcHTML),
42 42 gulp.dest(paths.distHTML)
43 43 ]);
44   -})
  44 +});
45 45  
46 46 gulp.task('sass', function() {
47 47 return gulp.src('src/sass/*.scss')
... ... @@ -55,7 +55,7 @@ gulp.task('pre-install', function() {
55 55 replace('ssh://git@debonline.dyndns.org:', 'http://git.focasoftware.com/'),
56 56 gulp.dest('')
57 57 ]);
58   -})
  58 +});
59 59  
60 60 gulp.task('post-install', function() {
61 61 pump([
... ... @@ -63,7 +63,7 @@ gulp.task('post-install', function() {
63 63 replace('http://git.focasoftware.com/', 'ssh://git@debonline.dyndns.org:'),
64 64 gulp.dest('')
65 65 ]);
66   -})
  66 +});
67 67  
68 68 gulp.task('pre-commit', function() {
69 69 pump(
... ... @@ -93,11 +93,12 @@ gulp.task('webserver', function() {
93 93 gulp.task('watch', function() {
94 94 gulp.watch([paths.srcJS], ['uglify']);
95 95 gulp.watch('src/sass/*.scss', ['sass']);
96   -})
  96 +});
97 97  
98   -gulp.task('reload'), function() {
99   - connect.reload();
100   -}
  98 +gulp.task('reload', function() {
  99 + gulp.src(['src/sass/*.scss', 'index.html'])
  100 + .pipe(connect.reload());
  101 +});
101 102  
102 103 gulp.task('livereload', function() {
103 104 gulp.watch('css/*.css', ['reload']);
... ... @@ -106,4 +107,4 @@ gulp.task('livereload', function() {
106 107 gulp.watch('index.html', ['reload']);
107 108 });
108 109  
109   -gulp.task('default', ['webserver', 'livereload', 'watch']);
  110 +gulp.task('default', ['sass', 'webserver', 'livereload', 'watch']);