The function of Webstorm HTML5 online preview cannot be modified in real time. just open it locally with file protocol? ?
Can I look at your problem as “refresh-free” debugging?
If so, it is recommended to use browser-sync tool, open a server locally, and add watch parameter to realize file change monitoring.
Try not to debug code under file:///