How to Gulp Watch files & folders copied using Laravel Elixir

Recently, I was using Gulp inside my Laravel project to publish Angular template partials from the /resources/views/partials directory to the /public/partials directory. The mix.copy() command worked fine but I found out that issuing a `gulp watch` command would not monitor these files & folder for changes. Everytime, I made a tweak to my templates, I had to manually issue the Gulp command to publish my templates. I resolved this by creating a custom Gulp task and attaching a watcher to it. Here’s the code

elixir(function(mix) {
mix.copy('resources/views/partials', 'public/partials');
mix.task('publish_partials', 'resources/views/partials/**/*.*')
gulp.task('publish_partials', function() {