set stdout.sync to true in both development and production