call bundle with reset-cache true as default from standard project

Summary:
addition to #7297

When called from an upstarting app, the bundling process should always be called with a cleared cache. That avoids possible problems with cached files.
Closes https://github.com/facebook/react-native/pull/7324

Differential Revision: D3247420

fb-gh-sync-id: 503ad39cb36455512ccea1af7618e89a80942f0c
fbshipit-source-id: 503ad39cb36455512ccea1af7618e89a80942f0c
This commit is contained in:
Mark Oswald 2016-05-02 08:02:46 -07:00 committed by Facebook Github Bot 4
parent b6d447769b
commit 7ca4e764b6
1 changed files with 1 additions and 0 deletions

View File

@ -72,5 +72,6 @@ $NODE_BINARY "$REACT_NATIVE_DIR/local-cli/cli.js" bundle \
--entry-file index.ios.js \
--platform ios \
--dev $DEV \
--reset-cache true \
--bundle-output "$DEST/main.jsbundle" \
--assets-dest "$DEST"