@click.command()
def serve():
    return subprocess.call('npm start', shell=True)
Set state and set weakref to parent.
dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/cli/commands/cmd_assets.py/serve--crossover with--dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/vartree.py/VariableTree.__setstate__