diff --git a/bin/run-mastodon.js b/bin/run-mastodon.js index af48a35f..8c200caf 100644 --- a/bin/run-mastodon.js +++ b/bin/run-mastodon.js @@ -86,7 +86,7 @@ async function runMastodon () { await exec(cmd, {cwd: mastodonDir}) } const promise = spawn('foreman', ['start'], {cwd: mastodonDir}) - const log = fs.createWriteStream('mastodon.log', {flags: 'a'}) + const log = process.env.TRAVIS ? process.stdout : fs.createWriteStream('mastodon.log', {flags: 'a'}) childProc = promise.childProcess childProc.stdout.pipe(log) childProc.stderr.pipe(log)