locked
Post-Deploy Script to restart WebJob RRS feed

  • Question

  • Currently deploying via GitHub my node project which contains also a WebJobs. The WebJob is restarting when I change the run.js file but when I change some external files nothing happens. Any option to let the job restart during every deploy?
    Wednesday, April 29, 2015 9:44 PM

Answers

  • I mean files which are loaded during runtime and sitting not in the jobs-directory. I found a workaround, when ever I deploy I run a post command which is touching the main-job-script and this restarts the job. For my use case this works great.
    • Marked as answer by dei79 Monday, December 21, 2015 5:00 PM
    Monday, December 21, 2015 5:00 PM

All replies

  • What do you mean by "some external files"?

    Thanks,

    Amit

    Thursday, April 30, 2015 1:06 AM
  • I mean files which are loaded during runtime and sitting not in the jobs-directory. I found a workaround, when ever I deploy I run a post command which is touching the main-job-script and this restarts the job. For my use case this works great.
    • Marked as answer by dei79 Monday, December 21, 2015 5:00 PM
    Monday, December 21, 2015 5:00 PM