Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hot-reload in web-example #6121

Merged
merged 2 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/static-example-apps-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ jobs:

- name: Check types
working-directory: ${{ matrix.working-directory }}
if: ${{ matrix.working-directory != 'apps/web-example' }}
run: yarn tsc --noEmit
- name: Check types
working-directory: ${{ matrix.working-directory }}
if: ${{ matrix.working-directory == 'apps/web-example' }}
run: yarn tsc --noEmit --baseUrl ../..
- name: Lint
working-directory: ${{ matrix.working-directory }}
run: yarn lint
Expand Down
2 changes: 2 additions & 0 deletions apps/web-example/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import "@expo/metro-runtime";

import { registerRootComponent } from 'expo';

import App from './App';
Expand Down
3 changes: 2 additions & 1 deletion apps/web-example/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"compilerOptions": {
"strict": true,
"paths": {
"@/*": ["./*"]
"@/*": ["./*"],
"react-native-reanimated": ["../../packages/react-native-reanimated/src"]
}
},
"include": ["**/*.ts", "**/*.tsx"]
Expand Down