 <p>Your glob for your watch seems to be wrong. Try this:</p> <pre><code>gulp.watch(['app/scripts/**/*.js', '!app/scripts/dist.js'], ['scripts']).on('change', function(evt) { changeEvent(evt); }); </code></pre> <p>Use the exclude pattern for your <code>dist.js</code> to avoid an infinite loop.</p> <p>Ciao Ralf</p>