При запуске в Gulp 4 ошибка при watch, подскажите как решить эту проблему спасибо!
gulp = require 'gulp'
stylefmt = require 'gulp-stylefmt'
tstylefmt = ->
gulp.src 'sass/**/*.scss'
.pipe stylefmt( )
.pipe gulp.dest 'sass/**/*.scss'
twatch = ->
gulp.watch paths.sass, tstylefmt
watch = gulp.series tstylefmt, twatch
gulp.task 'default', watch
(node:12060) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: this.emit is not a function
(node:12060) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate
the Node.js process with a non-zero exit code.