The soldiers were keeping watch over the bridge.

Literal

Soldiers [subject-が] bridge [object-を] were-keeping-watch.

見張る means to stand guard or keep watch. ~ていた marks an ongoing past action — the soldiers were in the midst of guarding at the time described.