mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
937d0e2bb6
* Reload webpack via hot-reloader when needed. We need to do this specially we removed a previosly built page from the filesystem. * Make sure reloading is happen only once * Reload only if there's a missing page error. * Remove debug logs. * 2.4.2 * Refactor the codebase a bit. * Move some commonly used regexp to a utils module. * Handle the reloading well when there's a custom error page. * Add a HMR test case. * Close the browser in the test case.
8 lines
120 B
JavaScript
8 lines
120 B
JavaScript
export default () => (
|
|
<div className='hmr-contact-page'>
|
|
<p>
|
|
This is the contact page.
|
|
</p>
|
|
</div>
|
|
)
|