mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 12:15:37 +08:00
Log exit code
Reviewed By: @martinbigio Differential Revision: D2467457
This commit is contained in:
committed by
facebook-github-bot-0
parent
cee01bef4f
commit
7806c0875b
@@ -33,7 +33,10 @@ class SocketServer {
|
||||
options
|
||||
);
|
||||
resolve(this);
|
||||
process.on('exit', () => fs.unlinkSync(sockPath));
|
||||
process.on('exit', code => {
|
||||
debug('exit code:', code);
|
||||
fs.unlinkSync(sockPath);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user