Remove initial daemon killing

This commit is contained in:
Igor Gassmann 2018-01-29 11:04:27 -03:00
parent cf4b5ddc93
commit 05c434ff81

View file

@ -12,21 +12,6 @@ export default class Daemon {
}
launch() {
// Kill any running daemon
// if (process.platform === 'win32') {
// try {
// execSync('taskkill /im lbrynet-daemon.exe /t /f');
// } catch (error) {
// console.warn(error.message);
// }
// } else {
// try {
// execSync('pkill lbrynet-daemon');
// } catch (error) {
// console.warn(error.message);
// }
// }
console.log('Launching daemon:', Daemon.path);
this.subprocess = spawn(Daemon.path);