From bc442d96e5e128242cc933e66efe4f98b8ca2423 Mon Sep 17 00:00:00 2001 From: Camilla Krag Jensen Date: Fri, 13 Oct 2017 16:22:01 +0200 Subject: [PATCH] Show errors from local gulp file if any. --- gulpfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 3f0f4d8e..cb21c5c6 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -11,7 +11,9 @@ localConfig = require('./local.gulp-config'); } catch (e) { - // Do nothing. + if (e.code !== 'MODULE_NOT_FOUND') { + throw e; + } } require('emulsify-gulp')(gulp, localConfig);