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
Thanks for reporting this issue. It is a known issue and it would be great if someone can dedicate some time to prevent this from happening. Would you like to take on this task @redcodefinal?
#1018 enables interactive mode so it will warn you if you try to run the same generator twice. Adding a new resource to the navigation isn't useless. If you don't like the current generators, you can always create your own recipes.
Description
Calling
amber g scaffold
on the same model multiple times will add mutliple menu items toviews/layouts/_nav
Steps to Reproduce
amber g scaffold ImAModel name:string
amber g scaffold ImAModel name:string
amber watch
127.0.0.1:3000
Expected behavior: Not to make multiple nav items for the same item
Actual behavior: Makes multiple nav items for the same item
Reproduces how often: 100%
Versions
Amber CLI (amberframework.org) - v0.7.2
Additional Information
Nope
The text was updated successfully, but these errors were encountered: