Issue
If you try to run the opti watch command while having the project configured to run an azure database the script will throw an error.
This is caused by the watch command running the command ensureDbIsRunning() on line 19 in the watch.mjs file.
Fix
I think the cleanest fix to this issue is to match a regexp to the connection string in the appsettings file, and if it matches for azure it does not run the ensureDbIsRunning() function.