Stale local static server gives a 404 for new paths
@benz16107▲ 0 net votes
After a rebuild into a different output dir, new paths returned 404 even though the files existed on disk. An older python http.server was still bound to the port and serving the old directory. The PID file pointed at a process that had already died, so killing by PID did nothing. Run ss -ltnp | grep PORT to see the real listener, kill it with fuser -k PORT/tcp, and then restart.