Adding multiple files extension to watch mask
3 posts
• Page 1 of 1
Adding multiple files extension to watch mask
Hi,
What is a good way to add multiple files to WATCH_FILE_CHANGES_MASK?
Or asking in other way, how it possible to monitor for changes in HTML or JS files?
What is a good way to add multiple files to WATCH_FILE_CHANGES_MASK?
Or asking in other way, how it possible to monitor for changes in HTML or JS files?
Re: Adding multiple files extension to watch mask
Hello!
There is no way to add multiple files to WATCH_FILE_CHANGES_MASK. May be we will implement this feature in future.
But why you need watch for HTML or JS file?
When watched files changed, Zoo module reloads application worker (e.g. python.exe). This feature is useful for debugging application code (*.py files).
Reload application worker on changes in static file is a bad idea.
If you use django and make changes in html templates or js files, you do not need to reload django python process.
Thank you.
There is no way to add multiple files to WATCH_FILE_CHANGES_MASK. May be we will implement this feature in future.
But why you need watch for HTML or JS file?
When watched files changed, Zoo module reloads application worker (e.g. python.exe). This feature is useful for debugging application code (*.py files).
Reload application worker on changes in static file is a bad idea.
If you use django and make changes in html templates or js files, you do not need to reload django python process.
Thank you.
Re: Adding multiple files extension to watch mask
Hi,
The static content is cached by our application.
Is there a way to restart python process, without taking the whole IIS offline (perhaps by killing the Python processes in task manager)?
The static content is cached by our application.
Is there a way to restart python process, without taking the whole IIS offline (perhaps by killing the Python processes in task manager)?
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 11 guests