osc: we still destroy serialport with vmodule even though osc.js 2.2.0 supports electron
This commit is contained in:
parent
6ae9d03e86
commit
a1db77248c
1 changed files with 2 additions and 1 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue