mirror of
https://github.com/status-im/re-natal.git
synced 2025-02-28 12:10:37 +00:00
Improve dev logging when patching RN packager
This commit is contained in:
parent
7a04012acd
commit
942871af47
@ -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…
x
Reference in New Issue
Block a user