Handle stdin closing
Created by: wmonk
Description
When running react-script
from something like Phoenix, when you stop the phoenix process, the react-script
process hangs around in the background. Brunch and webpack have both implemented this.
Expected behavior
The process is stopped when stdin is closed.
Actual behavior
The process does not stop.