def init_live_reload(run):
    """
    Start the live reload task

    :param run: run the task inside of this function or just create it
    """
    from asyncio import get_event_loop
    from ._live_reload import start_child
    loop = get_event_loop()
    if run:
        loop.run_until_complete(start_child())
    else:
        get_event_loop().create_task(start_child())
