Instead of calling the Scss compiler when the PageManagerPostProcess event is fired, call it when the CompilerPostRenderStaticPageView event is called; this event is called every time the Static PageView has been requested to be compiled.
Changes
A large change in this PR is that CompileProcessPostRenderPageView and CompileProcessPreRenderPageView has been split up into specialized events for each PageView type with more useful information with regards to which PageView is actually being compiled. This change breaks BC but since 0.2.0 is still in alpha, it's safe to break.
Check List
[ ] Added appropriate PhpDoc for modifications
[ ] Added unit test to ensure fix works as intended
Summary
Description
Instead of calling the Scss compiler when the
PageManagerPostProcess
event is fired, call it when theCompilerPostRenderStaticPageView
event is called; this event is called every time the Static PageView has been requested to be compiled.Changes
A large change in this PR is that
CompileProcessPostRenderPageView
andCompileProcessPreRenderPageView
has been split up into specialized events for each PageView type with more useful information with regards to which PageView is actually being compiled. This change breaks BC but since 0.2.0 is still in alpha, it's safe to break.Check List