mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-27 18:03:20 +08:00
update files
This commit is contained in:
parent
b18bcec73d
commit
1b8e084879
@ -6,11 +6,17 @@
|
||||
|
||||
var Emulator = require('./emulator');
|
||||
|
||||
var emulator;
|
||||
|
||||
// thread
|
||||
process.on('message', function (project){
|
||||
var stream;
|
||||
|
||||
var emulator = new Emulator({
|
||||
if (emulator) {
|
||||
emulator.stop();
|
||||
}
|
||||
|
||||
emulator = new Emulator({
|
||||
cwd: project.path,
|
||||
command: project.command.value
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user