Two Ways to Improve the Development Efficiency of Unigui in Delphi
1. Exit the running program when compiling.
When doing unigui development, every time you compile and run, the unigui application will run in the background. You must manually exit the application in the taskbar every time you recompile. This is very troublesome. You can add kill in the project compilation parameters. Process commands, so that the old process will be automatically killed every time you recompile.
The command parameters are as follows: taskkill /f /im $(OUTPUTFILENAME) 2>1 || exit /B 0
2. Every time the application is run, the browser is automatically invoked to open the application.
You have to manually open the browser every time you run the application, and enter the address and each port, which is still a bit troublesome. Add the automatic startup method to the ServerModule, and you can open the browser and open the application every time you run it.