Allows you to get compiled code after compiler's done
event. Heavily inspired by webpack-hot-server-middleware.
It's very useful when you're working with universal apps. Check Tiny-Universal-Skeleton for an example with step-by-step guide.
Webpack-Get-Code-On-Done is used inside suicrux.
Default export - function that accepts 2 arguments:
serverCompiler
- webpack Compiler that compiles your server.done
- function that will be executed aftercompile.on('done')
event. E.g. Every time your code will be changed.
Apache 2.0 License
Vladimir Metnew vladimirmetnew@gmail.com