Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix template loading process #494

Merged
merged 1 commit into from Jun 19, 2019
Merged

Conversation

jimlambie
Copy link
Contributor

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.

Copy link
Contributor

@eduardoboucas eduardoboucas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌮

@eduardoboucas eduardoboucas merged commit 95b5f9a into develop Jun 19, 2019
@jimlambie jimlambie deleted the patch/template-loader branch June 19, 2019 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants