๐Ÿ“ฆ motiz88 / T138478247-repro

โ˜… 1 stars โ‘‚ 0 forks ๐Ÿ‘ 1 watching
๐Ÿ“ฅ Clone https://github.com/motiz88/T138478247-repro.git
HTTPS git clone https://github.com/motiz88/T138478247-repro.git
SSH git clone git@github.com:motiz88/T138478247-repro.git
CLI gh repo clone motiz88/T138478247-repro
Moti Zilberman Moti Zilberman Update README.md 70e6ec4 3 years ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ app
๐Ÿ“ build
๐Ÿ“ scripts
๐Ÿ“„ .gitignore
๐Ÿ“„ .watchmanconfig
๐Ÿ“„ metro.config.js
๐Ÿ“„ package.json
๐Ÿ“„ README.md
๐Ÿ“„ yarn.lock
๐Ÿ“„ README.md

T138478247-repro

Minimal repro for a Metro bug.

$ scripts/repro.sh

### Setup (yarn, Metro)

yarn install v1.22.5
[1/4] ๐Ÿ”  Resolving packages...
success Already up-to-date.
โœจ  Done in 0.17s.

### Initial build

Expected: Hello from main1.js
Actual: Hello from main1.js

### Build after changing package.json (same Metro instance)

Expected: Hello from main2.js
Actual: Hello from main1.js

### Build after changing package.json (new Metro instance)

Expected: Hello from main2.js
Actual: Hello from main2.js