Merge pull request #125 from mfikes/master
Improve dev logging when patching RN packager
This commit is contained in:
commit
e5ab773ad2
|
@ -368,9 +368,10 @@ updateGitIgnore = () ->
|
||||||
|
|
||||||
patchReactNativePackager = () ->
|
patchReactNativePackager = () ->
|
||||||
installDeps()
|
installDeps()
|
||||||
log "Patching react-native packager to serve *.map files"
|
log "Patching the React Native packager to serve *.map files."
|
||||||
edit "node_modules/metro-bundler/build/Server/index.js",
|
edit "node_modules/metro-bundler/build/Server/index.js",
|
||||||
[[/match.*\.map\$\/\)/m, "match(/index\\..*\\.map$/)"]]
|
[[/match.*\.map\$\/\)/m, "match(/index\\..*\\.map$/)"]]
|
||||||
|
log "If the React Native packager is running, please restart it."
|
||||||
|
|
||||||
shimCljsNamespace = (ns) ->
|
shimCljsNamespace = (ns) ->
|
||||||
filePath = "src/" + ns.replace(/\./g, "/") + ".cljs"
|
filePath = "src/" + ns.replace(/\./g, "/") + ".cljs"
|
||||||
|
|
Loading…
Reference in New Issue