But they, like HK (and Vietnam, and SG and I don't know who else) are part of the "China is asshoe" club (i.e. the TW believe that the Chinese government will always lie and obfuscate, true or not), and had pretty direct experience with SARS and the other corona virus (not MERS, but my brain isn't working). In any case - they had protocols in place start mandating masks - pretty much day 1. They also paid for a factory expansion of the largest vendors, pretty much day 1, and pre-paid for a pretty large order.
I heard a rumor that the Vietnamese actually hacked a Chinese "mainframe" and stole materials that allowed them to prepare. I don't know if this is true, and it is not related to Taiwan's already-in-place response plan.