Releases: yusinto/universal-hot-reload
Releases · yusinto/universal-hot-reload
Added support for devServer overrides.
This release upgrades package dependencies and also adds support for devServer overrideds. Thank you @cereallarceny for these prs #31 #36.
Add sockPort for webpack-dev-server to work correctly
Newer versions of webpack-dev-server requires a sockPort property to be set in webpack config. This release includes the fix as implemented in #15 .
Support config free hot reload of graphql and express apps
This is a major upgrade which adds support for:
- Hot reloading graphql servers (express-graphql and apollo-server) and standard express servers.
- Config-free, server only hot reload through the new
serverHotReload
function. - TypeScript and Nexus.
- Optional server or client only webpack config.
Compatibility with node 11, Babel 7 and webpack-dev-server
This is a major upgrade which includes:
- Fixed compatibility with node 11
- Removed webpack-serve replacing with webpack-dev-server
- All packages upgraded to latest
Breaking change:
- You'll need to export default your express httpServer object instead of setting module.exports like so:
// OLD
const httpServer = app.listen(PORT, () => {
console.log(`Example app listening at ${PORT}...`);
});
module.exports = httpServer;
// NEW
export default app.listen(PORT, () => {
console.log(`Example app listening at ${PORT}...`);
});