]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
fix: remove run-sequence from gulp `deploy:dist` task to detect its end 11346/head
authorNicolas Coden <nicolas@ncoden.fr>
Sun, 1 Jul 2018 17:46:22 +0000 (19:46 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Sun, 1 Jul 2018 17:46:22 +0000 (19:46 +0200)
commitdcd3ab813f03b039e142af08a32cf488bda11d79
treeee1ca7ea732cee19e2a2ef940551b4da67fb651c
parent9a9f0c1971fd89442cb2160babccb63a7f6be16b
fix: remove run-sequence from gulp `deploy:dist` task to detect its end

`run-sequence` doesn't match well with multile streams from `gulp-filter` and prevent us to use the stream end event or gulp to automatically detect the stream end. This commit refactor the `deploy:dist` task and move its logics to `deploy:dist:files` in order to make gulp dealing directly with the `gulp-filter` stream and detect its end.
gulp/tasks/deploy.js