Home

lprun - Restart query on file modification

I'm using several instances of lprun.exe - overall data flows - with Hangfire to perform job scheduling and monitor status.

These instances are fired once and keep running forever - until I manually (force) close and restart them. I currently have to restart the instance on every script change.

Would you kindly consider implementing a lprun option which would implement a file watcher on the source .linq file and restart (recompile + start) the script as soon as the file has been changed?

Comments

  • This isn't possible (at least in LINQPad 6) without externally restarting the process because there are no application domains in .NET Core. So your query has to run bareback in the LPRun process, which means its dependencies cannot be refreshed.

Sign In or Register to comment.