From 5be2e003fca6efa9f3ba4d86b2b29af7a0dd6e48 Mon Sep 17 00:00:00 2001 From: Mats Stijlaart Date: Tue, 13 Jun 2017 23:06:49 +0200 Subject: [PATCH] Issue #73: fix linting --- js/server/app.js | 3 ++- js/server/watcher.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/js/server/app.js b/js/server/app.js index 66b9c48f..6cbc4c9c 100644 --- a/js/server/app.js +++ b/js/server/app.js @@ -14,7 +14,8 @@ module.exports = function(config) { const elm = require('./worker')(config); const dashboard = require('./dashboard')(app, elm, expressWs); - const watcher = require('./watcher')(app, elm); + + require('./watcher')(app, elm); require('./control')(app, elm, expressWs); app.get('/file', function(req, res) { diff --git a/js/server/watcher.js b/js/server/watcher.js index c3fad4dd..ded50d81 100644 --- a/js/server/watcher.js +++ b/js/server/watcher.js @@ -1,4 +1,4 @@ -var watch = require("node-watch"); +var watch = require('node-watch'); module.exports = function(app, elmWorker) { const pack = require(process.cwd() + '/elm-package.json');