cordova run keeps re-building the app, even if no changes were made

Bug #1396097 reported by David Barth
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cordova Ubuntu
Triaged
Medium
David Barth
webapps-sprint
Triaged
Medium
David Barth

Bug Description

After building my test app with cordova build --device, a 'run' command will trigger a new build. Worse, a 2nd run command will still re-do a build. No changes were made, neither to the code nor config of the app.

Revision history for this message
David Barth (dbarth) wrote :

even with --nobuild option, cordova still triggers a new build.

Changed in cordova-ubuntu:
status: New → Triaged
importance: Undecided → High
importance: High → Medium
Revision history for this message
David Planella (dpm) wrote :

I hit this bug during the Cordova workshop. It also leads to a poor developer experience in the sense that if you do a 'cordova run', you'll need to keep the device on your hand and keep waking it up so it does not go into lock mode, otherwise the installation will fail and you'll need to start it all over again.

I understand that the build is cmake-based, so why can we not cache the build just like any other regular cmake project?

tags: added: cordova-workshop
David Barth (dbarth)
Changed in cordova-ubuntu:
assignee: nobody → Maxim Ermilov (zaspire)
Changed in webapps-sprint:
milestone: none → sprint-10
assignee: nobody → Maxim Ermilov (zaspire)
David Barth (dbarth)
Changed in webapps-sprint:
milestone: sprint-10 → sprint-11
David Barth (dbarth)
Changed in webapps-sprint:
importance: Undecided → Medium
status: New → Triaged
David Barth (dbarth)
Changed in webapps-sprint:
milestone: sprint-11 → sprint-14
Changed in cordova-ubuntu:
assignee: Maxim Ermilov (zaspire) → David Barth (dbarth)
Changed in webapps-sprint:
assignee: Maxim Ermilov (zaspire) → David Barth (dbarth)
David Barth (dbarth)
Changed in webapps-sprint:
milestone: sprint-14 → sprint-15
David Barth (dbarth)
Changed in webapps-sprint:
milestone: sprint-15 → sprint-16
David Barth (dbarth)
Changed in webapps-sprint:
milestone: sprint-16 → sprint-18
milestone: sprint-18 → sprint-17
David Barth (dbarth)
Changed in webapps-sprint:
milestone: sprint-17 → sprint-18
David Barth (dbarth)
Changed in webapps-sprint:
milestone: sprint-18 → sprint-19
David Barth (dbarth)
Changed in webapps-sprint:
milestone: sprint-19 → sprint-20
David Barth (dbarth)
Changed in webapps-sprint:
milestone: sprint-20 → backlog
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.