tern: don't overwrite needs_sync from tern
Merge remote-tracking branch 'origin/dev' into dev