osc: we still destroy serialport with vmodule even though osc.js 2.2.0 supports electron

This commit is contained in:
jean-emmanuel 2017-01-02 13:36:07 +01:00
parent 6ae9d03e86
commit a1db77248c

View file

@ -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'),