Closed josephkerkhof closed 7 years ago
Hi @musicaljoeker
The issue is that you're deleting your volume in your gulp workflow. If you delete a volume after it's been created, the only way to get it back is to rebuild.
You can prevent this by making changing your theme-clean
task to this:
// Tasks for WordPress theme build
gulp.task('theme-clean', function() {
return gulp.src('builds/themes/uw-oshkosh-divi/**')
.pipe(clean());
});
I'm not familiar with gulp-clean
so I'm assuming that module just deletes whatever you give to it?
The key takeaway point is: Don't delete the uw-oshkosh-divi
folder -- just the files inside it.
Overview
docker version
1.13.1docker-compose.yml
Project structure
docker-compose up
outputgulpfile.js