The old way was to squeeze the frame rails - the "new" way, which most competent gunsmiths have been doing since at least the early 90s, is to weld up the frame rails and then re-cut them using a vertical mill.
As to how long the slide/frame should remain tight, it depends on a lot of factors such as how much the gun has been shot, the quality of the original slide/frame fit, etc.