I have a vocabulary in use book and from what I checked, both are correct gramatically, slight differences in meanings in case the first is continues and the second not.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.