From 15b9b258ed093a313c4516236954e36007097c8d Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Fri, 9 Jun 2017 22:23:18 +0200 Subject: [PATCH] Don't trigger installation when in development mode --- download/install.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/download/install.js b/download/install.js index a989816..0e03f19 100755 --- a/download/install.js +++ b/download/install.js @@ -5,6 +5,13 @@ var path = require('path') var fs = require('fs') var dist = path.join(__dirname, 'dist') +var src = path.join(__dirname, 'src') + +// Don't install when developing locally +if (fs.existsSync(src)) { + process.exit(0) +} + var download = path.join(dist, 'download.js') try {