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:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@metatrom/ior-resolver",
|
||||
"version": "1.0.0",
|
||||
"version": "1.1.0-beta.2",
|
||||
"description": "Interoperable Object Reference (IOR) resolver for Metro bundler and Node.js with support for local and remote component fetching",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
|
||||
Reference in New Issue
Block a user