Skip to content

Commit 7ffa056

Browse files
committed
Add watchman hard reset script
- favour `watch-del-all` over only current dir `watch-del .` for nuke/hard reset - favour logical && vs POSIX-only semi - for windows (cmd.exe) compat - always fail if either commands fail
1 parent 13b9cec commit 7ffa056

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"allow:auto": "allow-scripts auto",
88
"start": "react-native start",
99
"start:reset": "react-native start --reset-cache",
10+
"watchman:reset": "watchman watch-del-all && watchman shutdown-server",
1011
"android": "react-native run-android --active-arch-only",
1112
"android:release": "react-native run-android --active-arch-only --variant release",
1213
"ios": "react-native run-ios",

0 commit comments

Comments
 (0)