-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Add Browsersync support for micro frontends #15311
Comments
This issue is stale because it has been open 30 days with no activity. |
Keep it open please.
…On Sun, Aug 1, 2021 at 6:05 PM github-actions[bot] ***@***.***> wrote:
This issue is stale because it has been open 30 days with no activity.
Our core developers tend to be more verbose on denying. If there is no
negative comment, possibly this feature will be accepted.
We are accepting PRs 😃.
Comment or this will be closed in 7 days
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#15311 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAELZGDBPVBNKKUK7P2LVTT2XONPANCNFSM46UBWXAQ>
.
|
can't reproduce the initial command
error I get:
|
@shershen08 You have to copy the JDL in this post to a |
yes, indeed I was missing a correctly named file |
from brief analysis plugin is imported but not activated
in store/webpack/webpack.custom.js and blog/webpack/webpack.custom.js |
This issue is stale because it has been open 30 days with no activity. |
Keep it open as I think it'd be really cool to develop a microservice in isolation. |
I have this particularly implemented somewhere. |
Now I remember why I didn't finished it. #16214 requires to execute gateway using devserver/browser sync Another approach is to start the gateway without devServer (using docker or
I think approach 2 is more useful since the gateway can be shared as a container instead of source. |
@mraible what do you think? |
@mshima : approved |
Overview of the issue
If you create a micro frontend architecture with the following command, when you modify the blog's files, there's no hot-reloading. The change is recognized in the blog project and recompilation happens, but the gateway is not aware of it and doesn't refresh the browser. If you manually refresh, it works.
Motivation for or Use Case
It'd be cool if you could modify files in the blog project and those files would be hot-reloaded.
Reproduce the error
Using the following JDL:
Create apps with it.
Then, start all apps with:
Start the gateway and blog frontends:
Modify a file in the blog app and notice that it's not hot-reloaded in the gateway. Manually refresh the gateway and you'll see the change.
JHipster Version(s)
main
branch as of June 13, 2021.The text was updated successfully, but these errors were encountered: