react native doest reload 1

react native doest reload

echo 256 | sudo tee -a /proc/sys/fs/inotify/max_user_instances
echo 32768 | sudo tee -a /proc/sys/fs/inotify/max_queued_events
echo 65536 | sudo tee -a /proc/sys/fs/inotify/max_user_watches
watchman shutdown-server

 Or
 
 echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_watches && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_queued_events && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_instances && watchman shutdown-server && sudo sysctl -p

Here is what the above code is Doing:
1. echo 256 | sudo tee -a /proc/sys/fs/inotify/max_user_instances
– echo 256 is the value we want to set
– sudo tee -a /proc/sys/fs/inotify/max_user_instances is the file we want to write to
2. echo 32768 | sudo tee -a /proc/sys/fs/inotify/max_queued_events
– echo 32768 is the value we want to set
– sudo tee -a /proc/sys/fs/inotify/max_queued_events is the file we want to write to
3. echo 65536 | sudo tee -a /proc/sys/fs/inotify/max_user_watches
– echo 65536 is the value we want to set
– sudo tee -a /proc/sys/fs/inotify/max_user_watches is the file we want to write to
4. watchman shutdown-server
– watchman is the program we want to run
– shutdown-server is the argument we want to pass to the program

Similar Posts