diff --git a/blinky.js b/blinky.js index 6e6d676..7fe6d59 100644 --- a/blinky.js +++ b/blinky.js @@ -2,6 +2,7 @@ const logger = require('./libs/logger.js'); const util = require('./libs/util.js'); const cli = require('./libs/cli.js'); const server = require('./libs/server.js'); +const blinkstick = require('./libs/blinkstick.js'); const packageJSON = require('./package'); const INTERRUPTS = ['SIGINT', 'SIGTERM']; @@ -24,6 +25,7 @@ async function main() { if (await cli.handleArguments()) { exit(); } + await blinkstick.findBlinkstick(); logger.info(await server.start()); server.handleRequests(); }