B
B
Bastard_Kiton2016-01-04 16:04:07
npm
Bastard_Kiton, 2016-01-04 16:04:07

How to catch errors when building statics in gulp?

Good afternoon!
Not so long ago I discovered tools for convenient assembly of statics, but so far I can’t do without a rake.
Because Since template engines are a new topic for me, I often miss something when working with *.jade templates (like indent lines or making mistakes in syntax, etc.) and the node.js console crashes, because gulp can't build broken markup.
In what ways I try to solve the problem:
1.Search for the jade linter for brackets (not found, but maybe I'm looking in the wrong way?);
2. Tried to find some plugins for gulp that will allow me to write an error log, because. the console immediately crashes after saving the crooked piece of jade code and I simply do not have time to look at the information about the error.
Please do not judge strictly for the wording, but I would like to prevent the console from crashing due to each error and get hold of some kind of linter for jade and, if not for Brackets, then for something fancy and convenient. :)
Thank you for your attention.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Khokhlov, 2016-01-04
@Bastard_Kiton

https://www.npmjs.com/package/gulp-plumber

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question