Skip to content

Commit 7f06dc6

Browse files
authored
[Web] Fix hot reload (#3540)
## Description This PR fixes hot reload on web, which has broken probably while moving to monorepo. ## Test plan - Tested on expo-example (also verified that native side works) - `yarn ts-check` and `yarn lint-js`
1 parent 1415d55 commit 7f06dc6

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

apps/expo-example/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import '@expo/metro-runtime';
12
import { registerRootComponent } from 'expo';
23

34
import App from './App';

apps/expo-example/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"paths": {
77
"common-app": ["../common-app/index.ts"],
88
"react-native-gesture-handler": [
9-
"../../packages/react-native-gesture-handler/index.ts"
9+
"../../packages/react-native-gesture-handler/src"
1010
],
1111
"react-native-gesture-handler/ReanimatedSwipeable": [
1212
"../../packages/react-native-gesture-handler/src/components/ReanimatedSwipeable.tsx"

0 commit comments

Comments
 (0)