aspect-build / rules_webpack

Bazel rules for webpack bundler https://webpack.js.org/
Apache License 2.0
32 stars 15 forks source link

[Bug]: webpack_bundle with supports_worker=True + run_js_devserver + ibazel = missing bundle files #126

Closed KatSick closed 1 year ago

KatSick commented 1 year ago

What happened?

If you run new example from https://github.com/aspect-build/rules_webpack/pull/125 using ibazel, made some changes and re-run ibazel, .css and .js files will be missing on next ibazel invocation

1. image

2. image

Version

Development (host) and target OS/architectures:

bazel 6.4.0 macOS 13.6 (22G120)

How to reproduce

Using https://github.com/aspect-build/rules_webpack/pull/125:

See two pictures above. 1 — first ibazel run. 2 — second ibazel run (demonstrates the issue)

Workaround: bazel clean

Any other information?

No response