Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add watchfiles based reload class #1419

Closed
wants to merge 1 commit into from

Conversation

Kludex
Copy link
Sponsor Member

@Kludex Kludex commented Mar 24, 2022

First thoughts:

  • Not sure if we want to deprecate WatchGodReload, and add WatchFilesReload, or if we want to just replace. As watchfiles is not stable, I'd opt for the first option.
  • I have the feeling that our reload options are excessive. 馃槥

if Path.cwd() not in self.reload_dirs:
self.reload_dirs.append(Path.cwd())

self.watch_filter = CustomFilter()
Copy link
Sponsor Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just need to add the filter for this to work. Need to implement the filter tho.

@Kludex
Copy link
Sponsor Member Author

Kludex commented Apr 9, 2022

Close this in favor of #1437

@Kludex Kludex closed this Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant