Ability to pass onBuild callback

It's useful with gulp-based environment. I'm use webpack-dev-middleware along with custom express dev server and I want to push livereload once build is done.