Azure-Functions icon indicating copy to clipboard operation
Azure-Functions copied to clipboard

Azure function restart when the root folder changes

Open choprasaurav7 opened this issue 1 year ago • 5 comments

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 :

image

Any help on this is appreciated.

To also include how I am executing the function:

  1. Using custom image over mcr base node image for az functions
  2. using HTTP trigger
  3. using node child process (spawn) to execute shell

choprasaurav7 avatar Apr 06 '23 22:04 choprasaurav7