You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
bla
This commit is contained in:
@@ -54,8 +54,9 @@ module.exports = {
|
|||||||
confFile = confFile.replace('.conf', '.win32.conf');
|
confFile = confFile.replace('.conf', '.win32.conf');
|
||||||
redis = 'redis-64\\tools\\redis-server.exe';
|
redis = 'redis-64\\tools\\redis-server.exe';
|
||||||
}
|
}
|
||||||
var rp = spawn.sync(redis, [confFile], { stdio: 'inherit' });
|
var rp = spawn(redis, [confFile], { stdio: 'inherit' });
|
||||||
|
|
||||||
|
waitForRedis(true, function () {
|
||||||
done(null, {
|
done(null, {
|
||||||
spawnFailed: function () {
|
spawnFailed: function () {
|
||||||
return false; // Remove if as soon as it's not necessary anymore
|
return false; // Remove if as soon as it's not necessary anymore
|
||||||
@@ -73,5 +74,6 @@ module.exports = {
|
|||||||
rp.kill('SIGTERM');
|
rp.kill('SIGTERM');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}, port);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user