CodeIgniter Forums
Hot reload lag - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: Hot reload lag (/showthread.php?tid=88774)



Hot reload lag - chakycool - 11-04-2023

Hi everyone,

Was very excited for the new Hot Reload feature but it slow the hell-out or it just don't load the page at all. Switching it off seems to do the trick. 
Something seems to be holding back at the routing. Any idea to trouble shoot this?

With Hot reload :

[Image: ci443.png]

With-out hot reload
[Image: without-hotreload.png]


RE: Hot reload lag - ozornick - 11-04-2023

On PHP service run infinite loop. It slowed or crash page load. Try https://github.com/codeigniter4/CodeIgniter4/pull/8150 ?


RE: Hot reload lag - chakycool - 11-04-2023

Didn't work but thanks ozornick.


RE: Hot reload lag - ozornick - 11-04-2023

I think you didn't do the test. It is necessary to update some files from PR.
https://patch-diff.githubusercontent.com/raw/codeigniter4/CodeIgniter4/pull/8150.patch


RE: Hot reload lag - chakycool - 11-05-2023

The patch killed the hot-reload Big Grin, I rolled back the patch.
For me, when the hot reload is on the page will re-load on saving changes with no issue but If I navigate to a new page it takes for ever or it just don't load at all.


RE: Hot reload lag - ozornick - 11-05-2023

I have the same problem. So I created a PR. It should work correctly