Darryl L. Miles created CB-7948:
-----------------------------------

             Summary: prepare rebuilding cordova_plugin.js everytime ?
                 Key: CB-7948
                 URL: https://issues.apache.org/jira/browse/CB-7948
             Project: Apache Cordova
          Issue Type: Improvement
    Affects Versions: 3.6.0
            Reporter: Darryl L. Miles


Does the 'prepare' operation really need to rebuilding cordova_plugin.js 
everytime ?

Can it not check the timestamp of the files:
 * platforms\<platform>\www\codrova_plugins.js
 * plugins\<platform>.js

That is if the target cordova_plugin.js file has a newer timestamp than the 
plugins\myplatform.js then it skips the part of the 'prepare' operation and 
logs the optimization.

"cordova_plugin.js is already up to date, use --force to rebuild."

Of course if cordova_plugin.js does not exist it is rebuilt.

Maybe a the --force option should be allowed to disable this check.

Maybe other parts of the 'prepare' operation can also be skiped in this way 
allow for fast incremental building of the project.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to