I usually work with the page in split mode in order to quickly edit the html-code directly if needed.
At the moment there is a serious inconvenience when editing the page code directly. At least with NodeJS.
After each change of any letter in the code, the page in preview updates immediately.
It causes two consequences:
- Code editor “freezes” for a moment. So basically there is a lag that appears between the moment I press a key on the keyboard and the moment I see it on screen. It’s like I play a brand new videogame on the old laptop with low FPS.
- Page blinking (which is especially noticeable on pages with not white background)
Both of those are very annoying.
I’ve recorded a little video with a demonstration.
It is hard to see the first issue in it, but maybe you can hear that the appearance of letters is little behind the tapping sound.
Perhaps it has something to do with how templates work in NodeJS. Therefore, I don’t know if this can be fixed at all.
If it is not possible, then I would like some kind of solution anyway.
The first proposition is to refresh the page not immediately, but after some inactivity. E.g. after three seconds.
Maybe another option is to give an opportunity to turn off automatic page refresh (by clicking on the special toggle).