@arg('host', optional=True)
    @arg('port', optional=True)
    @arg('noreload', optional=True, default=False)
    def runserver(self, host, port, noreload):
        app_dir = os.environ['APP_DIR']
        app_module = os.environ['APP_MODULE']
        script_dir = os.environ['SCRIPT_DIR']
        public_dir = os.environ['PUBLIC_DIR']
        os.chdir(app_dir)
        app = load_definition_from_string('{0}.app.application'.format(
            app_module))
        kwargs = {
            'app': app,
            'script_dir': script_dir,
            'public_dir': public_dir,
        }
        if host:
            kwargs['host'] = host
        if port:
            kwargs['port'] = int(port)
        kwargs['noreload'] = True if noreload else False

        make_dev_server(**kwargs)
Runs the development server for the current application.
dataset/ETHPy150Open watsonpy/watson-framework/watson/framework/support/console/commands/development.py/Dev.runserver