This PR reverts the change from 7.0.0 that introduced a new file watch process to allow hot reload of pages.
In addition, a change was introduced in 7.0.0 that loads page files by reading them, rather than using require, which meant picking up any changes requires deleting the key from the require.cache ... etc. This PR modifies that change to make it a sync read file.
This PR reverts the change from 7.0.0 that introduced a new file watch process to allow hot reload of pages.
In addition, a change was introduced in 7.0.0 that loads page files by reading them, rather than using
require
, which meant picking up any changes requires deleting the key from the require.cache ... etc. This PR modifies that change to make it a sync read file.