mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-09 13:36:14 +00:00
Add on exit
This commit is contained in:
parent
72708bcf2d
commit
559eb0636e
@ -6,10 +6,14 @@ class REPL {
|
||||
}
|
||||
|
||||
start(done) {
|
||||
repl.start({
|
||||
let replServer = repl.start({
|
||||
prompt: "Embark (" + this.env + ") > "
|
||||
});
|
||||
|
||||
replServer.on('exit', () => {
|
||||
process.exit();
|
||||
});
|
||||
|
||||
done();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user