Skip to content

Commit 761398e

Browse files
committed
Docs: return stream & fix syntax highlighting
1 parent 8fdf0ab commit 761398e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/recipes/server-with-livereload-and-css-injection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ app/
2323

2424
... you can easily serve files from the `app` directory and have all browsers reload when any of them change with the following:
2525

26-
```
26+
```js
2727
var browserSync = require('browser-sync');
2828
var reload = browserSync.reload;
2929

@@ -51,7 +51,7 @@ var browserSync = require('browser-sync');
5151
var reload = browserSync.reload;
5252

5353
gulp.task('sass', function () {
54-
gulp.src('scss/styles.scss')
54+
return gulp.src('scss/styles.scss')
5555
.pipe(sass())
5656
.pipe(gulp.dest('css'))
5757
.pipe(reload({stream:true}));

0 commit comments

Comments
 (0)