question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Editing pubspec.yaml leads to persistent 'pub get' banner

See original GitHub issue

Steps to Reproduce

  1. Create a new project in IJ
  2. Open pubspec.yaml and add an empty line between existing lines 1 and 2
  3. Open lib/main.dart
  4. Wait for the ‘Pubspec has been edited’ banner, and hit ‘Get dependencies’
  5. 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:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
alexander-doroshkocommented, Feb 8, 2017

Ok, thanks, I’ll check once again.

0reactions
pqcommented, Feb 8, 2017

Thanks for chiming in @alexander-doroshko!

As I wrote in #667 I think the problem is not with the timeStamp,

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found