-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Display a compiling indicator in browser #442
Comments
No need to send progress data if we do it in
What do you say @egoist should I do it in this way? |
@issuehunt has funded $40.00 to this issue.
|
@MarchWorks you can handle the events here: https://github.com/saberland/saber/blob/master/packages/saber/vue-renderer/app/dev-client.js |
@egoist got it but if I do that how I am supposed to pass the |
@MarchWorks It's a simple component so |
still needs some tweaks https://jsfiddle.net/3h8vayjs/2/ |
Interesting, is there an animated version? 😄 |
Not yet but I am thinking of animating it like when a "command" is used |
Feature request
What problem does this feature solve?
Rebuilding can be slow, it's frustrating when you edit something but the page doesn't update right away, we can provide a better experience by adding an indicator to show the build progress.
In Next.js:
In Nuxt.js:
What does the proposed API look like?
This should be on by default, but you should be able to turn it off by
build: { browserIndicator: false }
or CLI flag--no-browser-indicator
How should this be implemented in your opinion?
Hook into webpack compiler and send progress info to browser via webpack-hot-middleware.
IssueHunt Summary
Backers (Total: $40.00)
Become a backer now!
Or submit a pull request to get the deposits!
Tips
IssueHunt has been backed by the following sponsors. Become a sponsor
The text was updated successfully, but these errors were encountered: