Try these all just in case.
Monthly Archives: April 2015
Prevent Gulp From Breaking And Crashing On Error
Gulp has been giving me a lot of trouble since the day we met. Basically because he breaks his watch whenever he smells a bit of error in JavaScript. This is a serious pain in the ass, since with the site I’m working on, I’ll have to restart the server in Terminal, re-login, and click to the page I was previously on. Three additional steps for a minor change. No fun.
This is how to tame him.
Leaving Curly Braces Out of JS If Statement
I spent so much time with Coffee that I constantly want to write this in Javascript:
return if x
Today I encountered with a new issue:
if (true) a = 1; if (false) a = 2; a = 3;
What should a’s value be?