It seems to me (and apparently others) that syncs only actually occur every other update. I don't think this happens immediately upon starting a pier, but after a few revs it's quite reliable. I can reproduce it with my node script that trivially pastes a file in to the pier repeatedly.
Basically, if you have a syntax error in your code it gets reported every other rev. The code for reproducing it with a script can be found in tlon/utils/copy. Common behavior is below.
ergo ~zod main 47
: /~zod/main/48/app/twit/core/hook
ergo ~zod main 48
: /~zod/main/49/app/twit/core/hook
! syntax error: 51 33
! ford: fade /~zod/main/~2014.8.7..04.03.54..12d0/app/twit/core
! ford: boil %core /~zod/main/~2014.8.7..04.03.54..12d0/app/twit /
! made
ergo ~zod main 49
: /~zod/main/50/app/twit/main/js
ergo ~zod main 50
: /~zod/main/51/app/twit/main/js
! syntax error: 51 33
! ford: fade /~zod/main/~2014.8.7..04.05.34..3ade/app/twit/core
! ford: boil %core /~zod/main/~2014.8.7..04.05.34..3ade/app/twit /
! made
ergo ~zod main 51
: /~zod/main/52/app/twit/main/js
It seems to me (and apparently others) that syncs only actually occur every other update. I don't think this happens immediately upon starting a pier, but after a few revs it's quite reliable. I can reproduce it with my node script that trivially pastes a file in to the pier repeatedly.
Basically, if you have a syntax error in your code it gets reported every other rev. The code for reproducing it with a script can be found in tlon/utils/copy. Common behavior is below.