javascript - Gulp Watchify not printing build time for js files -


my gulp file seems running fine, , watchify working when make changes app.js file or sass files. happens when run gulp command:

myname$ gulp [17:06:06] requiring external module babel-core/register [17:06:08] using gulpfile ~/some/path/gulpfile.babel.js [17:06:08] starting 'watch-styles'... [17:06:08] finished 'watch-styles' after 13 ms [17:06:08] starting 'scripts'... [17:06:08] finished 'scripts' after 42 ms [17:06:08] starting 'default'... [17:06:08] finished 'default' after 22 μs 

the thing is, these times show first time gulp. after i've run gulp command, build times don't show when make change js file. tell me build times sass files, not js. said before, watchify working , new output files created, there no feedback in terminal tells me how long took. in fact, there no message @ js changes.

here gulpfile.

i believe if change definitions of default , watch tasks expected result:

gulp.task('watch-styles', () => {   gulp.watch([].concat(sassdirs.src, jsdirs.src), ['scripts', 'styles']) })  gulp.task('default', ['styles', 'scripts']) 

Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

html - Outlook 2010 Anchor (url/address/link) -

android - How to create dynamically Fragment pager adapter -