inveniosoftware / inveniosoftware/cookiecutter-invenio-instance
scripts: use "invenio run --extra-files" to reload on "invenio.cfg" changes
- Dominant language
- Python
- Stars
- 6
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
Apparently, `flask run` has [a `--extra-files` parameter](https://flask.palletsprojects.com/en/1.1.x/cli/#watch-extra-files-with-the-reloader), which allows passing other files that could trigger a reload when changed. That would be very useful e.g. for reloading for changes done in `invenio.cfg`.
Not sure if this could actually be useful/applicable for the entire `var/instance` folder...
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the script or entry point that handles `invenio run`, and read how it invokes the Flask development server. Verify how `invenio.cfg` and possibly `var/instance` are passed as extra files, then run the development command and confirm that configuration edits trigger a reload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flask, python
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100