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
{{ message }}
Repository navigation
Everytime when saving changes to pubspec.yaml asks if packages should be gotten #1988
I haven't been able to repro this - I have an example sub-folder, with a pubspec.yaml in it, but editing either pubspec only runs pub get for that particular project.
Anything else about your project that might be relevant? Does it repro if you run Dart: New Project , then copy paste a copy of itself into an example folder?
I tried it when example has no .packages or pubspec.lock files too, thinking that might trigger it, but I still see the same.
Got it, thanks! It happens when you have a project that's in "two workspace folders" (here example is in its own, but also as a child of the parent folders workspace) so we found it twice, and thought there were multiple folders we needed to run for.
Activity
DanTup commentedon Sep 17, 2019
I haven't been able to repro this - I have an
examplesub-folder, with apubspec.yamlin it, but editing either pubspec only runspub getfor that particular project.Anything else about your project that might be relevant? Does it repro if you run Dart: New Project , then copy paste a copy of itself into an
examplefolder?I tried it when
examplehas no.packagesorpubspec.lockfiles too, thinking that might trigger it, but I still see the same.escamoteur commentedon Sep 17, 2019
I just tried it again, it only happens when I open the project with a workspace.
This is the project https://github.com/escamoteur/rx_widgets where I see it
DanTup commentedon Sep 17, 2019
Got it, thanks! It happens when you have a project that's in "two workspace folders" (here example is in its own, but also as a child of the parent folders workspace) so we found it twice, and thought there were multiple folders we needed to run for.