Editing pubspec.yaml leads to persistent 'pub get' banner
See original GitHub issueSteps to Reproduce
- Create a new project in IJ
- Open pubspec.yaml and add an empty line between existing lines 1 and 2
- Open
lib/main.dart
- Wait for the ‘Pubspec has been edited’ banner, and hit ‘Get dependencies’
- Close and then re-open
lib/main.dart
Expected result: No pub banner Actual result: You get the ‘Pubspec has been edited’ banner again
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
flutter pub get error when i edit my pubspec.yaml file
0-nullsafety. So, because gameapp depends on both easy_localization ^3.0.0 and flutter_launcher_icons ^0.8.0, version solving failed. pub get ...
Read more >All about the Pub command line tool for Flutter and Dart
When you run flutter pub get , it gets the exact version of the package specified by your pubspec.lock file. To see that...
Read more >The pubspec file - Dart programming language
Reference guide for the fields in pubspec.yaml. ... Specify files to ignore when conducting a pre-publishing search for potential leaks of secrets.
Read more >Internationalizing your app with Flutter's easy_localization
Step 1: Install the package by adding it as a dependency in the pubspec.yaml file and running flutter pub get :
Read more >Flutter Tutorial - Material Banner - Deep Dive - Morioh
Display a scrolling or persistent Material Banner with useful information and actions for the user in Flutter.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, thanks, I’ll check once again.
Thanks for chiming in @alexander-doroshko!
I’m pretty confident the timestamp is lagging. Like I said, I can reliably get it to update by manually opening the lagging file. I can also confirm it with printfs. Moreover, if I skip right to using
java.io.File
I don’t see the issue.