Gulp Stream + Promise A simple PoC showing how to deal with a Stream and a Promise in the same task. Run first : npm i gulp-cli -g to install gulp-cli as global. Then run npm install to install depedencies. Then: gulp promise to run the promise only. gulp stream to run the stream only. gulp all to run the promise and then the stream together.