The walkers follow sound, so I figure that the beginning of last night's episode was some time ago, it was done to explain how so many got towards the highway, then through the woods, and eventually to the farm. In addition to all the gunfire and such, there were a lot of cattle around the farm too that probably drew in the walkers. So it was just a matter of time before a herd of them moved in.
Bookmarks