Adding multiple files extension to watch mask

Repository of web frameworks and applications for Microsoft IIS.
User avatar
Posts: 56
Joined: 01 Nov 2013, 01:50

Adding multiple files extension to watch mask

06 Jan 2014, 22:14

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?

User avatar
Posts: 110
Joined: 07 Mar 2012, 10:22

Re: Adding multiple files extension to watch mask

08 Jan 2014, 05:44

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.

User avatar
Posts: 56
Joined: 01 Nov 2013, 01:50

Re: Adding multiple files extension to watch mask

10 Feb 2014, 09:31

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)?

Return to Helicon Zoo

Who is online

Users browsing this forum: No registered users and 11 guests