mirror of https://github.com/status-im/metro.git
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:
parent
b6d447769b
commit
7ca4e764b6
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue