Jonas Finnemann Jensen
Jonas Finnemann Jensen
@sigurdm, perhaps we should consider this use-case in some of thoughts we're trying to collect around `dart run` and friends.
Transfering to the `pub` repository.
We currently have [build_runner](https://pub.dev/packages/build_runner) and [`package:build`](https://pub.dev/packages/build), but `pub run build_runner build` does not automatically run after `pub get`. I think it's deliberate that no hooks are exposed, so I'm curious...
@BugDiver, that's a more specific use-case though. Note you might be able to do this with `build_runner`, users will still have to run a command, but at-least it's one that...
> Most of the package managers provide this sort fo feature (pip, npm, cargo etc) so that the users do not have to do all the stuff. The problem of...
It sounds like this is a general problem with authorizing against `pub.dartlang.org` from a system where you don't have a browser.. ie. you would have the same issue if you...
@cskau-g, says he got `localhost` working on his chrome book... **edit**, he got it working for `8080` and `8000`
A possible workaround could be to support `--port` option, or to default to using port `8080` if nothing is listening on that port.
Oh, now I remember how I did a pub authorization in an `ssh` session... I just did `pub publish` then opened the URL in a browser on my laptop, from...
> Would it be safe to assume that the token in credentials.json will be refreshed close to expiration by pub? This is an ordinary oauth2 `refresh_token`, so it can refresh...