Bree is a Node.js and JavaScript job task scheduler with worker threads, cron, Date, and human syntax. Built for @ladjs, @forwardemail, @spamscanner, @cabinjs.
This means bree searches for the jobs folder relative to where the process is started (where I run the node command from), not relative to the file where bree is set up in the project.
This is just less intuitive to me than having it be relative to where I set up the bree instance in my code.
It also makes it less intuitive to properly use any transpilation process or with any framework that handles bundling/transpilation behind the scenes.
Just a suggestion - seeing if other feel the same way. There are quite a few issues related to confusion around this.
The default bree root is
path.resolve('jobs')
.This means bree searches for the jobs folder relative to where the process is started (where I run the node command from), not relative to the file where bree is set up in the project.
This is just less intuitive to me than having it be relative to where I set up the bree instance in my code.
It also makes it less intuitive to properly use any transpilation process or with any framework that handles bundling/transpilation behind the scenes.
Just a suggestion - seeing if other feel the same way. There are quite a few issues related to confusion around this.