gulp-sync's People
gulp-sync's Issues
Clarify how nested arrays work
In your documentation, are you saying that you give to gulpSync.sync( ) or gulpSync.async( ) as series of nested task names? And that each level of depth within that data structure alternates between running tasks synchronously or asyncronously?
If so, I think stating how it works more explicitly in words would be more useful than giving a single example with some comments.
how to run a task after sync completes
//build app into ./dist directory
gulp.task('build:dist', gulpsync.sync([
'clean:dist',
'build:less',
'copy:dist'
]));
I want to run a task after copy:dist
completes.
Pass parameters into tasks
Is there a way to pass params into the task?
For instance
gulp.task('default', gulpsync.sync(['a --platform desktop', 'b', 'c']))
gulp task with gulp-sync emit error while finishing first task
task1 works,while before run task2 it emit an error says 'cb is not a function',run task2 alone doesn't show any warn or error.
[11:11:58] Finished 'task1' after 208 μs
[11:11:58] 'sync group0:0' errored after 1.93 ms
[11:11:58] TypeError: cb is not a function
gulpfile scripts as below:
gulp.task('default',gulpsync.sync(['task1','task2']))
there's no any 'cb' keyword in my gulpfile.
node -v: v4.2.1
gulp -v: version 3.9.0
Synced tasks not waiting for complete finish before continuing
If I do a delete, then a write, sometimes the write errors because the file being written is also being deleted at the same time.
Example:
gulp.task('html.rebuild', $.synchronize.sync([
'html.clean',
'html.build'
]));
In this example, clean removes the file and build will create the file. Clean is finishing up at the time build runs. It doesn't always happen, but it happens enough to be bothersome; especially when I run a bunch of async synced tasks at once.
Last version on master is not available on npm
Hello,
Last version on master is not available on npm. Package.json still says 1.2
Thanks to publish it.
Cheers.
Name should be optional parameter
If I run t1
and t2
gulp.task('t1', gulpsync.sync(['a', 'b', 'c'])); gulp.task('t2', gulpsync.sync(['d', 'e', 'f']));
d
, e
, f
only will be run.
I need name tasks
gulp.task('t1', gulpsync.sync(['a', 'b', 'c'], 'sync t1')); gulp.task('t2', gulpsync.sync(['d', 'e', 'f'], 'sync t2'));
It uncomfortable. Name should be optional parameter
option to remove verbose 'sync group...' output
screen shot: http://screencast.com/t/MrEBPfTiQYL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.