@lpl Try this little script. It runs a code in the background, updating a button in the status bar.
Tapping it will close the script.
You can run another script as usual.
I cant' say that your web server could run so, but it is to be tested.

Sorry, I just forgot that on Windows we can open the app several times and run several codes at the same time. But on ios, we can just open once. But can you support this feature? @omz I think it would be great.