Skip to content
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

Shutdown node.js when App_Offline.htm is dropped in directory. #592

Open
ngbrown opened this issue Aug 31, 2017 · 3 comments
Open

Shutdown node.js when App_Offline.htm is dropped in directory. #592

ngbrown opened this issue Aug 31, 2017 · 3 comments

Comments

@ngbrown
Copy link

ngbrown commented Aug 31, 2017

To unlock files being used by the Node.js process in the node_modules directory, there needs to be a way to shutdown the process when updating.

Web Deploy supports this exact scenario by adding a App_Offline.htm file before sync'ing the file changes, then removing it when done.

iisnode should check for the App_Offline.htm file and shutdown any spawed processes, and serve the App_Offline.htm file until the file is removed.

The ASP.Net Core Module does the same.

@ShawnCentra
Copy link

This would be a good feature to add.

@amustafa91
Copy link

@ngbrown I added the app offline in the pipeline but still facing issue with one package called sharp

@lextm
Copy link

lextm commented Dec 5, 2024

Related to Azure#120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants