Skip to content

Emitting event to window #20

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

Closed
jeffling opened this issue Dec 15, 2014 · 2 comments
Closed

Emitting event to window #20

jeffling opened this issue Dec 15, 2014 · 2 comments

Comments

@jeffling
Copy link

Hey, I'm wondering if we can see when there is a module update from within the app. This would allow us to 'refresh' the page within a SPA to get the latest changes. I'm imagining some event that we can watch from the window object.

@SpaceK33z
Copy link
Member

Very late answer:

webpack-dev-middleware stands "above" this, in the sense that it does not even communicate with the page, it only serves page from memory.

Do you use webpack-dev-server? If so, see webpack/webpack-dev-server#542 for more info.

@jeffling
Copy link
Author

jeffling commented Aug 23, 2016

I think I was trying to write a hot reload angular middleware :) Thanks for the answer

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