moving live reload to dev mode