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

Support dev_server rule #49

Open
geaden opened this issue May 2, 2021 · 1 comment
Open

Support dev_server rule #49

geaden opened this issue May 2, 2021 · 1 comment

Comments

@geaden
Copy link
Contributor

geaden commented May 2, 2021

dev_server rule was supported in

https://github.com/dart-archive/rules_dart/blob/78a4e1ba257bbe9a9d7a064c8cde8c5317059e17/examples/web_app/BUILD#L40-L46

Any plans on supporting it here?

@cbracken
Copy link
Owner

cbracken commented May 5, 2021

We'd need to give some thought as to how we'd want to support it, but no objections to supporting it here!

One goal with this repo was to remove a lot of the complexity we accumulated in the old rules trying to interoperate with a ton of internal Google legacy infra, so right now things are relatively lightweight.

To get live edit-rebuild behaviour, we'd need the equivalent of the internal iblaze tool, which hadn't been open-sourced at the time, but looks like it's available in the bazel-watcher repo now. There was a fair bit of complexity in the rules dealing with iblaze. The DDC build, on the other hand, is relatively straighforward I think. The old rules have a lot of naughty behaviour around path manipulation, but I suspect it wouldn't be a huge effort to port them.

Thanks for filing the issue!

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

2 participants