Extended the files/directories monitored for Flask hot-reloading.

master
Pacman Ghost 2 years ago
parent d00d809877
commit c5e1e53df4
  1. 6
      vasl_templates/webapp/run_server.py

@ -41,7 +41,11 @@ def main( bind_addr, force_init_delay, flask_debug ):
# monitor extra files for changes
extra_files = []
fspecs = [ "static/", "templates/", "config/" ]
fspecs = [ "static/", "static/css/", "static/help/", "templates/", "config/" ]
fspecs.extend( [
"data/default-template-pack/",
"data/default-template-pack/extras/", "data/default-template-pack/extras/kgs/"
] )
fspecs.extend( [ "tests/control_tests_servicer.py", "tests/proto/generated/" ] )
for fspec in fspecs:
fspec = os.path.abspath( os.path.join( os.path.dirname(__file__), fspec ) )

Loading…
Cancel
Save