You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I understand about composeWith, the method follows the priority group execution in the runLoop. For instance, if you call composeWith under install the composed generator and main generator should call install and any priority group lower (e.g. end).
This behavior seems to be ignored if the force option is passed in like the following:
In addition, if you call the generator in the CLI and pass the force option like so
yo generator-something --force true
The prompt still asks if you want to overwrite which shouldn't given the option.
I have two questions. Is there a way where we can attach an EventEmitter to the IO procedures so that if a copying fails or does not happen (a priority group is not run) the user knows about it?
The text was updated successfully, but these errors were encountered:
From what I understand about
composeWith
, the method follows the priority group execution in therunLoop
. For instance, if you callcomposeWith
underinstall
the composed generator and main generator should callinstall
and any priority group lower (e.g.end
).This behavior seems to be ignored if the
force
option is passed in like the following:In addition, if you call the generator in the CLI and pass the force option like so
The prompt still asks if you want to overwrite which shouldn't given the option.
I have two questions. Is there a way where we can attach an
EventEmitter
to the IO procedures so that if a copying fails or does not happen (a priority group is not run) the user knows about it?The text was updated successfully, but these errors were encountered: