Skip to content

Commit

Permalink
Push app logs to current working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
pflooky committed Jul 12, 2024
1 parent 634a447 commit ba4dabb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/insta-integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ function runApplication(runConf, configFileDirectory, appIndex) {
try {
const logStream = fs.createWriteStream(
`${process.cwd()}/logs/app_output_${appIndex}.log`,
{ flags: 'w' }
{ flags: 'w+' }
)
// Run in the background
const runApp = spawn(runConf.command, [], {
Expand Down

0 comments on commit ba4dabb

Please sign in to comment.