Skip to content

Commit

Permalink
Update nb_cli/cli/commands/project.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyongyu authored Nov 15, 2023
1 parent 081e4d5 commit 3eeb7e7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions nb_cli/cli/commands/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,11 @@ async def run(
await Reloader(
partial(run_project, exist_bot=Path(file)),
terminate_process,
reload_dirs=[Path(i) for i in reload_dirs]
if reload_dirs is not None
else reload_dirs,
reload_dirs=(
[Path(i) for i in reload_dirs]
if reload_dirs is not None
else reload_dirs
),
file_filter=FileFilter(reload_includes, reload_excludes),
reload_delay=reload_delay,
cwd=get_project_root(),
Expand Down

0 comments on commit 3eeb7e7

Please sign in to comment.