dadi / web

Web is a drop in front end for websites and web apps. Consumes data from DADI API and others
https://dadi.cloud/en/web/
Other
48 stars 16 forks source link

Fix template loading process #494

Closed jimlambie closed 5 years ago

jimlambie commented 5 years ago

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.