An in-plane spin-reorientation transition occurring during the growth of epitaxial Fe films on W(110) was studied in situ by using the nuclear resonant scattering of synchrotron radiation. The spin-reorientation transition originates at the Fe/W(110) interface and proceeds via a noncollinear spin structure resembling a planar domain wall that propagates towards the surface with increasing film thickness.