Fix Metro bundler refresh issue by preventing unnecessary file writes

- Only write auto-generated.d.ts when actual content changes
- Strip timestamp lines when comparing content to detect real changes
- Prevents Metro from refreshing when type content is unchanged
- Fixes flickering "Refreshing..." issue across all connected devices

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Chris Daßler
2025-10-05 22:40:57 +02:00
parent 6e775258d1
commit e05f091342
3 changed files with 52 additions and 5564 deletions

5583
package-lock.json generated

File diff suppressed because it is too large Load Diff