A clear and concise description of the problem or missing capability...
I asked a question in the slack channel but would love more input. I was playing around with the vue example and a friend asked how to setup hot reloading. I tried and could not figure it out. As far as I know, vue_cli_service supports hot reloading but I don't know how to update the source files being served after the target is built by Bazel.
If you have a solution in mind, please describe it.
As part of the examples already included in this project, would it be possible to add an example of hot reloading?
Have you considered any alternative solutions or workarounds?
This admittedly feels kinda "anti-bazel" so I would understand if there was no implementation that the team feels is worth recommending to people by adding an example of it here, but perhaps some examples could be added to this ticket for future readers 馃槃
Have you tried ibazel with ibazel_notify_changes tag?
The tag will prevent the cli from reloading and ibazel will update source tree when it detects any change.
something about how bazel mounts files on macos doesn't get detected out of the box by webpack-dev-server, (i assume this is similar to problems in the past on trying to do file watchers on network file systems, virtualbox, etc)... i was able to fix it by just adding the --watch-poll to webpack-dev-server... no need for ibazel
Thanks guys for the suggestions 馃槂 I'm gonna cycle back to the project I'm working on that lead me to this question soon and try out both iBazel and --watch-poll.
I also want to say I'm looking forward to #2149 going in. I think it's going to be super valuable documentation in the repo. Thanks @parisholley for starting on it 馃榾
Does the solution without ibazel work for when files are added?