Ejemplo n.º 1
0
    def run(self):
        scanner.scan(self.package, self.serverOnly)
        if not self.serverOnly:
            bundleComponent.produceMonoliths()

        if not self.compileOnly:
            self.startServer()
            self.watch()
Ejemplo n.º 2
0
def runSimple(package):
    scanner.scan(package, True)
    app = createApp(True)
    from werkzeug.serving import run_simple
    run_simple('localhost', 4000, app)