jstty / beelzebub

One hell of a Task Master!
http://beelzebub.io
Other
8 stars 4 forks source link

$init behavior #19

Closed Fatkhi closed 7 years ago

Fatkhi commented 7 years ago

If we run 1 separate task, $init methods of every task would be invoked. It strongly decreases performance in cases, when we have yanpm installing modules in this $init hooks.

jstty commented 7 years ago

Please use $beforeAll for tasks that have slow asyn. $beforeAll only runs once when the task is first ran.