diff --git a/re-natal.coffee b/re-natal.coffee index 42c43e5..53713bd 100644 --- a/re-natal.coffee +++ b/re-natal.coffee @@ -383,7 +383,7 @@ updateGitIgnore = (platforms) -> patchReactNativePackager = () -> installDeps() - fileToPatch = "node_modules/metro/src/Server/index.js" + fileToPatch = "node_modules/metro/src/Server.js" log "Patching file #{fileToPatch} to serve *.map files." edit fileToPatch, [[/match\(\/\\.map\$\/\)/m, "match(/index\\..*\\.map$/)"]]