-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
built-in plugins concat and clear #53
Comments
Because those are the basic building blocks of task automation. Keeping basic functions like that inside fly adds to the uniformity of the API. Fly has relatively specific space for plugins and what they can do which gives them power and keeps them reined in as well. Pushing all functionality out into plugins would detract from the clarity, add to the user ramp-up process, and potentially cause trouble when debugging. |
gulp has bad experience even with "watch" encapsulation. that’s why we have https://github.com/floatdrop/gulp-watch |
anyway, if someone is not happy with current implementationы, then is it possible to rewrite current concat and clear implementations? |
@iamstarkov Thanks for the question! Basically, what @MadcapJake said 😄 Don't you think that stuff like Now, most people will probably use @iamstarkov What was gulp's bad experience? I am not familiar with the issue. |
long story short: built-in watch was not good enough, thats why gulp ecosystem has external gulp-watch. I’m wondering is it possible to replace built-in utils with external ones, if somebody will want it? |
I'm not sure about |
Override the method: export default function* () {
this.concat = ...
} Now, since you brought this up, I think a more natural way to do this would be using the same method that export default function* () {
this.write("concat", Function)
...
...
} Regarding writers
At this point you can use |
why does we need it inside? https://github.com/flyjs/fly/blob/master/src/fly.js#L134-L149
The text was updated successfully, but these errors were encountered: