Skip to content

Conversation

azemoh
Copy link

@azemoh azemoh commented Dec 25, 2015

This prevents browser-sync from stopping when sass has errors. It just prints the error and server keeps running.

This prevents browser-sync from stopping when sass has errors. It just prints the error and server keeps running.
@Sandstedt
Copy link

Sandstedt commented Jun 28, 2016

Works great! You could also keep the browserSync notification, like this:

.pipe(sass({
    includePaths: ['scss'],
    onError: browserSync.notify('Error in sass')
}))
.on('error', sass.logError)

@azemoh
Copy link
Author

azemoh commented Sep 19, 2016

That's right, I see why it stops the server. Made changes in PR #51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants