• If you stick the Web server creation into an onInit() { ... } function, you should be fine.

    var WS = require ("WebServer"), ws;
    
    function onInit() {
      ws  = new WS (...
    ...
    }
    
About

Avatar for allObjects @allObjects started