Skip to content

Commit 4592fb8

Browse files
fix(sample): Explicitly name sample source dirs to avoid conflicts (#2737)
1 parent bd077d2 commit 4592fb8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sample/metro.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ const parentDir = path.resolve(__dirname, '..');
1111

1212
module.exports = {
1313
projectRoot: __dirname,
14-
watchFolders: [path.resolve(__dirname, 'node_modules'), parentDir],
14+
watchFolders: [
15+
path.resolve(__dirname, 'node_modules'),
16+
`${parentDir}/dist`,
17+
`${parentDir}/node_modules`,
18+
],
1519
resolver: {
1620
blacklistRE: blacklist([
1721
new RegExp(`${parentDir}/node_modules/react-native/.*`),

0 commit comments

Comments
 (0)