(0) Rewrite source code in HTML, eliminate all PHP
(1) Download AHK hotkeys
(2) Open notepad, paste, save as .ahk, run script on startup
^!s::
ControlSend,,{F5},ahk_class MozillaWindowClass
WinActivate, ahk_class MozillaWindowClass
return
Done. For each edit, [Ctrl]+[Alt]+S to refresh & focus on .html tab (or current tab). (custom hotkeys)
If referencing HTML w/ PHP, paste former, minified (unless needed readable) - and work with the rest.
Works near-instantly.
(If first time using AHK, insert in beginning)
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.