Logging print in terminal is printed correctly before subprocess.
But when cocos command it self is launched by nodejs/atom and outputs are read by pipe (see atom build)
About 2~3 lines of logging message before subprocess will not printed until subprocess returns.
So we needs to flush logging messages before launch subprocess.
Logging print in terminal is printed correctly before subprocess.
But when
cocos
command it self is launched by nodejs/atom and outputs are read by pipe (see atom build) About 2~3 lines of logging message before subprocess will not printed until subprocess returns.So we needs to flush logging messages before launch subprocess.