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