We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example code:
new Worker( "myQueue", async (job) => { const result = spawnSync( "rsync", [ "--times", "--verbose", "--compress", "--dry-run", "--itemize-changes", "--relative", job.data.fileName, "user@host:/web/", ], { encoding: "utf8", } ); await job.log(result.stdout); } )
What the logs look like:
What the logs probably should look like (sort-of):
cd+++++++++ comment/ <f+++++++++ comment/3.html sent 71 bytes received 22 bytes 62.00 bytes/sec total size is 193,260 speedup is 2,078.06 (DRY RUN)
I also tried this, but it does not help:
await job.log(`<pre>${result.stdout}</pre>`);
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Example code:
What the logs look like:
What the logs probably should look like (sort-of):
I also tried this, but it does not help:
The text was updated successfully, but these errors were encountered: