Closed dgp1130 closed 1 year ago
Happened upon live-server
the other day, which has a PR open to add iBazel support. Maybe this could be used as an out of the box devserver?
We're now using http-server
for web_resources_devserver()
. I'll need to look into live reload, but it should already be iBazel-compatible.
Currently we use
concatjs_devserver()
as the implementation of theweb_resources_devserver()
. This is nice to not have to write a devserver and because it isibazel
compatible and implements livereload out of the box.However, with v3 moving this to
@bazel/concatjs
, which includes Karma rules and requires a dependency onrules_webtesting
, this is a very heavyweight dependency that gets passed to user projects and which we only use a small portion of. Using a custom devserver would enable user workspaces to drop@bazel/concatjs
andrules_webtesting
.