From 0b91e83df43078725d6581963bad596363ad8363 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 22 Nov 2019 13:14:49 +0000 Subject: [PATCH] Add error-messages for node-sass --- gulpfile.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gulpfile.ts b/gulpfile.ts index 3e8fc3c..f35190b 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -343,6 +343,13 @@ export async function Theme() { importer: require("node-sass-tilde-importer"), outputStyle: settings.Debug ? "expanded" : "compressed" + } + ).on("error", + (error) => + { + log.error( + `${error.relativePath}:${error.line}:${error.column}\n` + + `${error.messageFormatted}`); }) ).pipe( rename(