Notify disconnected shells
Use propoer NODE_ENV when it is defined or "development" if it is undefined