This commit is contained in:
Josh Harvey 2016-11-27 18:12:49 +02:00
parent 3a99b7a6bc
commit 00d986376e
8 changed files with 149 additions and 155 deletions

View file

@ -35,10 +35,10 @@ function runOnce () {
const seedPath = options.seedPath || './seeds/seed.txt'
plugins.init(seedPath)
return settingsLoader.settings()
return settingsLoader.load()
.then(settings => {
plugins.startPolling()
plugins.startCheckingNotification(settings.config)
plugins.startCheckingNotification()
const httpsServerOptions = {
key: fs.readFileSync(options.keyPath),