From 761398e1047379fb72e9a11d4b84dbf1416f6340 Mon Sep 17 00:00:00 2001 From: Shane Osbourne Date: Tue, 15 Jul 2014 20:46:54 +0100 Subject: [PATCH] Docs: return stream & fix syntax highlighting --- docs/recipes/server-with-livereload-and-css-injection.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/recipes/server-with-livereload-and-css-injection.md b/docs/recipes/server-with-livereload-and-css-injection.md index fc68de5fd..b634eead2 100644 --- a/docs/recipes/server-with-livereload-and-css-injection.md +++ b/docs/recipes/server-with-livereload-and-css-injection.md @@ -23,7 +23,7 @@ app/ ... you can easily serve files from the `app` directory and have all browsers reload when any of them change with the following: -``` +```js var browserSync = require('browser-sync'); var reload = browserSync.reload; @@ -51,7 +51,7 @@ var browserSync = require('browser-sync'); var reload = browserSync.reload; gulp.task('sass', function () { - gulp.src('scss/styles.scss') + return gulp.src('scss/styles.scss') .pipe(sass()) .pipe(gulp.dest('css')) .pipe(reload({stream:true}));