Migration is very hard on shorebirds and when they stop to feed, it is not the time to disturb them. My usual approach is to lie down on the beach at a good distance and wait for them to walk by instead of me chasing them. It works every time, you just need to wait a bit instead of stressing them.