Description
Maybe I am just missing something but I can not seem to figure out how to delete a single file. After doing some messing around in the code a bit I noticed that the return through.obj(function(file, encoding, callback)
doesn't fire on a delete. I'm not sure if it's because of how I am calling the module or if it just doesn't work that way. I'm currently calling the module by adding a watch to all my folders and files I want pushed to shopify
gulp.watch('dist/{assets,layout,config,sections,snippets,templates,locales}/**/*.*', (event) => { shopifyUpload(event.path); });
and passing the changed file to a function that is calling the gulp-shopify-theme stream
function shopifyUpload(path) { return gulp.src(path) .pipe(shopifytheme.stream()); };
Any help with this would be much appreciated.