alphagov/supplier-submission-portal — pull request #65 by tombye (2014-10-07 16:13:09+00:00)
Title: Only run process tracking if not already set up

This block, bound to the SIGINT event, was running when the watch task reloaded the app. This replaced `.start.pid` with a new version containing an updated pid while the watch task was stopping the original process from terminating.

The result was when you finally tried to kill it manually, the pid in `.start.pid` was for a new process, but the old one was the one still running.