How to use the hops.run function in hops

To help you get started, we’ve selected a few hops examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github xing / hops / packages / build / commands / develop.js View on Github external
'Clean up artifacts in build / cache directories before ' +
          'building',
        type: 'boolean',
      },
    },
    handler: function developHandler(argv) {
      if (argv.static) {
        process.env.HOPS_MODE = 'static';
      }
      require('..').runServer(argv);
    },
  });
};

if (require.main === module) {
  require('hops').run(module.exports, 'develop');
}

hops

Hops main Package to build and run Hops applications

MIT
Latest version published 2 years ago

Package Health Score

54 / 100
Full package analysis