1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/server
Arunoda Susiripala 937d0e2bb6 [WIP] Reload webpack if needed (#2076)
* 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.
2017-06-06 15:32:02 -07:00
..
build [WIP] Reload webpack if needed (#2076) 2017-06-06 15:32:02 -07:00
config.js Add next configuration as an option for custom servers (#2058) 2017-05-31 13:36:07 +05:30
document.js Never cache assets and HTML in the dev mode. (#2045) 2017-05-25 18:28:08 +02:00
hot-reloader.js [WIP] Reload webpack if needed (#2076) 2017-06-06 15:32:02 -07:00
index.js [WIP] Reload webpack if needed (#2076) 2017-06-06 15:32:02 -07:00
next.js Programmatic API (#310) 2016-12-16 12:33:08 -08:00
on-demand-entry-handler.js [WIP] Reload webpack if needed (#2076) 2017-06-06 15:32:02 -07:00
render.js Never cache assets and HTML in the dev mode. (#2045) 2017-05-25 18:28:08 +02:00
require.js write assets to disk 2016-10-16 04:49:42 +09:00
resolve.js New test setup (#640) 2017-01-12 13:14:49 +09:00
router.js Allow parsed url to be passed down (#950) 2017-02-02 12:21:08 +05:30
utils.js [WIP] Reload webpack if needed (#2076) 2017-06-06 15:32:02 -07:00