-
Notifications
You must be signed in to change notification settings - Fork 49
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify adding extra files to watch during development #43
Comments
I'm not sending a PR for adding the argument, because I'm not sure where to add it (what would make sense the most) and I'm not sure having the argument there is something Elsa should actually support. I'm playing with a thought that it could be actually smarter - e.g. reading |
Adding it without a workaround should be possible once #39 gets done (it's rotting there for quite a while, hopefully i can get to that next semester when i don't teach). As for some smart handling, I will think about it. Thanks for the proposal. |
This is how from setuptools.command.egg_info import FileList
file_list = FileList()
with open('MANIFEST.in') as f:
for line in f.readlines():
file_list.process_template_line(line)
file_list.sort()
print(file_list.files) |
I'm not sure about |
During development, Werkzeug's reloader watches just Python files and Jinja templates. Normally, this can be extended by the
extra_files
keyword argument:Elsa doesn't support this:
elsa/elsa/_cli.py
Line 83 in 9672d65
Following workaround works, but it would be nice if Elsa was able to propagate the option in some way, out of the box.
The text was updated successfully, but these errors were encountered: