In the past, the Web UI was built (running "npm install" and "npm run build") during the "Configure CMake" phase. This was hacky but worked back then. The disadvantage is that the Web UI is not re-built automatically when something changes.
This PR splits the Web UI build steps into multiple targets and makes sure they depend on each other. The Web UI is automatically re-built if there are changes and only if.
In the past, the Web UI was built (running "npm install" and "npm run build") during the "Configure CMake" phase. This was hacky but worked back then. The disadvantage is that the Web UI is not re-built automatically when something changes. This PR splits the Web UI build steps into multiple targets and makes sure they depend on each other. The Web UI is automatically re-built if there are changes and only if.
Fixes #61