Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to cancel Flutter commands #525

Open
pq opened this issue Dec 12, 2016 · 4 comments
Open

Add a way to cancel Flutter commands #525

pq opened this issue Dec 12, 2016 · 4 comments
Milestone

Comments

@pq
Copy link
Contributor

pq commented Dec 12, 2016

If a command hangs (or appears to hang), we should have a way to cancel it:

screen shot 2016-12-12 at 8 36 48 am

@pq pq added the enhancement label Dec 12, 2016
@pq
Copy link
Contributor Author

pq commented Dec 12, 2016

Update: while I think the request stands, it looks like my command hadn't hung above but was rather just very quick. When run from the commandline I see:

[~/IdeaProjects/untitled8_901210921] $ flutter packages get
Running 'flutter packages get' in untitled8_901210921... 497ms

I wonder if there shouldn't be a better indication that the command has run?

Should we print the time elapsed (as we do on the commandline)?

cc @devoncarew @danrubel

@devoncarew
Copy link
Member

+1 to printing something in IntelliJ (flutter packages get finished. or similar).

@mit-mit mit-mit added this to the On Deck milestone Dec 13, 2016
@pq pq modified the milestones: Backlog, On Deck Dec 13, 2016
@pq
Copy link
Contributor Author

pq commented Jun 6, 2018

See also: #1923 .

@IchordeDionysos
Copy link

IchordeDionysos commented Sep 6, 2019

I had a case where I had something like this in my pubspec.yaml:

dependencies:
    flutter:
        sdk: flutter
    flutter_localizations:
        sdk: flutter
    some_pub:
        git:
           url: git@https://github.com/simpleclub/some_pub.git
           ref: master

I know there is an error git@https://github.com/simpleclub/some_pub.git should have been [email protected]:simpleclub/some_pub.git.

My point is that Flutter tried to fetch the incorrect dependency with exponential backoff and I had no way to stop the command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants