Google noted that if the HTTP status code is non-200 (for example, on error pages with 404 status code), rendering might be skipped.
Fortunately, Visual Studio Code has a little terminal you can use to run commands without needing to swap between windows.