Currently the temp file (mdp-<hash>.html in os.TempDir()) is never cleaned up — it lingers until reboot or manual deletion. In watch mode this matters more because the process stays alive and the file should be removed on graceful shutdown (SIGINT/SIGTERM).
Tracked from the live-reload implementation PR.
Currently the temp file (
mdp-<hash>.htmlinos.TempDir()) is never cleaned up — it lingers until reboot or manual deletion. In watch mode this matters more because the process stays alive and the file should be removed on graceful shutdown (SIGINT/SIGTERM).Tracked from the live-reload implementation PR.