From a1db77248c8d438bf992c88ba4206a9e98a870c2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 2 Jan 2017 13:36:07 +0100 Subject: [PATCH] osc: we still destroy serialport with vmodule even though osc.js 2.2.0 supports electron --- app/main/osc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/main/osc.js b/app/main/osc.js index 6b40da7e..516d2082 100644 --- a/app/main/osc.js +++ b/app/main/osc.js @@ -1,4 +1,5 @@ -// destroy serialport module as it's currently unsupported and would throw when required by osc +// destroy serialport module +// (electron-rebuild breaks it for node-only mode) require('vmodule')('serialport', {}, {global: true}) var osc = require('osc'),