Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Commit

Permalink
fix gulp task omission and copy image bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bmuenzenmeyer committed Jun 23, 2016
1 parent 43be5d1 commit fee9146
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ gulp.task('pl-copy:js', function(){

// Images copy
gulp.task('pl-copy:img', function(){
return gulp.src('*',{cwd: path.resolve(paths().source.images)} )
return gulp.src('**/*.*',{cwd: path.resolve(paths().source.images)} )
.pipe(gulp.dest(path.resolve(paths().public.images)));
});

Expand Down Expand Up @@ -118,7 +118,7 @@ gulp.task('patternlab:loadstarterkit', function (done) {
done();
});

gulp.task('pl-build', gulp.series('pl-assets', build, function(done){
gulp.task('patternlab:build', gulp.series('pl-assets', build, function(done){
done();
}));

Expand Down Expand Up @@ -157,7 +157,7 @@ function watch() {
gulp.watch(patternWatches).on('change', gulp.series(build, reload));
}

gulp.task('pl-connect', gulp.series(function(done) {
gulp.task('patternlab:connect', gulp.series(function(done) {
browserSync.init({
server: {
baseDir: path.resolve(paths().public.root)
Expand Down Expand Up @@ -193,6 +193,6 @@ gulp.task('pl-connect', gulp.series(function(done) {
/******************************************************
* COMPOUND TASKS
******************************************************/
gulp.task('default', gulp.series('pl-build'));
gulp.task('patternlab:watch', gulp.series('pl-build', watch));
gulp.task('patternlab:serve', gulp.series('pl-build', 'pl-connect', watch));
gulp.task('default', gulp.series('patternlab:build'));
gulp.task('patternlab:watch', gulp.series('patternlab:build', watch));
gulp.task('patternlab:serve', gulp.series('patternlab:build', 'patternlab:connect', watch));
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "edition-node-gulp",
"description": "The gulp wrapper around patternlab-node core, providing tasks to interact with the core library and move supporting frontend assets.",
"version": "1.2.1",
"version": "1.2.3",
"dependencies": {
"browser-sync": "^2.11.2",
"gulp": "gulpjs/gulp#4.0",
Expand Down

0 comments on commit fee9146

Please sign in to comment.