lib/client/index.js
function() {
      if (options.servePacked) {
        ss.bundler.forEach(function(bundler) {
          bundler.useLatestsPackedId();
        });
      }
      ss.bundler.load();
      //TODO convert options.dirs to relative paths stripping the lead '/' if present

      // Cache instances of code formatters and template engines here
      // This may change in the future as I don't like hanging system objects
      // on the 'ss' internal API object, but for now it solves a problem
      // we were having when repl.start() would erase vars cached inside a module
      ss.client.formatters = this.formatters.load();
      ss.client.templateEngines = this.templateEngine.load();
    }
function() {
      if (options.servePacked) {
        ss.bundler.forEach(function(bundler) {
          bundler.useLatestsPackedId();
        });
      }
      ss.bundler.load();
      //TODO convert options.dirs to relative paths stripping the lead '/' if present

      // Cache instances of code formatters and template engines here
      // This may change in the future as I don't like hanging system objects
      // on the 'ss' internal API object, but for now it solves a problem
      // we were having when repl.start() would erase vars cached inside a module
      ss.client.formatters = this.formatters.load();
      ss.client.templateEngines = this.templateEngine.load();
    }
function ( ) { if ( options . servePacked ) { ss . bundler . forEach ( function ( bundler ) { bundler . useLatestsPackedId ( ) ; } ) ; } ss . bundler . load ( ) ; //TODO convert options.dirs to relative paths stripping the lead '/' if present // Cache instances of code formatters and template engines here // This may change in the future as I don't like hanging system objects // on the 'ss' internal API object, but for now it solves a problem // we were having when repl.start() would erase vars cached inside a module ss . client . formatters = this . formatters . load ( ) ; ss . client . templateEngines = this . templateEngine . load ( ) ; }
Listen and serve incoming asset requests
Listen and serve incoming asset requests