Aurelia CLI and gulp notifications (Windows)

How to disable gulp toast notifications (Windows 10) when restoring my application using aurelia-cli. Extremely annoying.

+4
source share
1 answer

You can modify the generated build tasks to remove the notification that is in aurelia_project / tasks. Just change any gulp -plumber calls by omitting the configured errorHandler:

return eventStream.merge(dts, src)
.pipe(plumber(/*{ errorHandler: notify.onError('Error: <%= error.message %>') }*/))
.pipe(sourcemaps.init())
.pipe(ts(typescriptCompiler))
.pipe(build.bundle());
+3
source

Source: https://habr.com/ru/post/1661874/


All Articles