Philipp Kursawe created CB-9993:
-----------------------------------
Summary: Don't rebuild whole project when only /www/ content was
changed
Key: CB-9993
URL: https://issues.apache.org/jira/browse/CB-9993
Project: Apache Cordova
Issue Type: Improvement
Components: CLI
Environment: all platforms
Reporter: Philipp Kursawe
The {{code > build > run}} cyle can be very long and frustrating to work with.
The CLI should not re-build the platform files when only the content of the
/www/ folder has changed. It should also not even copy the contents of the
/www/ folder to each platform folder but but just reference it in place in the
targets project file. This would make the use of browserify or webpack much
easier.
Coming from the Windows world and its Windows Store Apps the above mentioned
cycle is practically instant run. There is no build/compilation step involved
in normal HTML/JS Store apps. I'd like to see that behaviour in Cordova apps
too.
When the config is changed the target projects files might be adjusted too. CLI
could save a simple file hash for the config.xml and not re-generate the
platform projects when the hash is the same.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]