-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
No way to have a callback after build completes #132
Comments
var compiler = webpack(...);
compiler.plugin("done", function() { ... });
new WebpackDevServer(compiler, ... |
Nice, thank you. I tried this, but now it does this:
I guess I can do a setTimeout, but is there a cleaner way to hook in so I can output that stuff after the build stats? |
The setTimeout seems to work alright for now. |
@sokra ,Thanks for your pretty answer. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I expected the callback when running
listen
to happen after the build was complete, but instead it calls right after. Any recommendation for having a hook that runs after the build?I'd like to output stats on how long it took to build in the console.
The text was updated successfully, but these errors were encountered: