def init_live_reload(run):
from asyncio import get_event_loop<EOL>from ._live_reload import start_child<EOL>loop = get_event_loop()<EOL>if run:<EOL><INDENT>loop.run_until_complete(start_child())<EOL><DEDENT>else:<EOL><INDENT>get_event_loop().create_task(start_child())<EOL><DEDENT>
Start the live reload task

:param run: run the task inside of this function or just create it