Open CatBakun opened 9 years ago
Thanks @CatBakun for reporting. I did follow your steps but could not reproduce any error that you got there. Here, what I got.
Perhaps, the simplest solution is to update the generator and all of its dependencies.
Hi! I'm having a problem using the generator. When working on a generate' application's source, and want to generate a component using the sub genearator
mithril:component "myAddedComponent"
it re-generates the whole source again, no component is added and you lost the changes you made in the source.You can reproduce doing the folowring: 1 -
yo mithril myApp
.. choose you stack, etc 2 - Edit any sourcefile 3 -yo mithril:component "myComponent"
.. asked again for bootstrap, requirejs and lodash, getting some conflicts, saying all 'yes', etc 4 - check that you lost the changes you made in step 2, and no 'myComponent' was added.Am I missing something between step 1 and 3 that is causing this?
Thanks!!