Azure-Functions
Azure-Functions copied to clipboard
Azure function restart when the root folder changes
I want to use Azure functions to generate apps at runtime via CLI commands. Let's consider running angular generate command ng new hert. The process of new app creation internally involves creating new folders. As soon as the process starts creating new folders this in turn signals the function app to restart as the host configuration changes.
Please refer to the screenshot below :

Any help on this is appreciated.
To also include how I am executing the function:
- Using custom image over mcr base node image for az functions
- using HTTP trigger
- using node child process (spawn) to execute shell