Okay, the title is not completely true. You can’t configure the Build process itself (not yet 🙂 )but you can change its behavior. What annoys me about this Build process (Grunt), it’s being executed every time I push something to git. It annoys me, because I often do a push to git and immediately after that I deploy it to the backend. This will result in two builds in only a few minutes without any changes in my code. To avoid this, someone of the SAP Web IDE team showed me a way to not trigger the Build process when I push my changes to git. Just follow these steps:
- Right click on your project and select “Project Settings”
- Go to “Code Checking Triggers”
- Disable “Notify before push”
- Click on “Save”
Result: No more build during push to git
In the end, we only need our source code in git and not the result in the dist folder(the dist folder will normally not be pushed to git, this can be configured in the “.gitignore” file). So why would you want to Build your project before pushing it to git? It only takes time.
Hope this also helps you