trigger.dev icon indicating copy to clipboard operation
trigger.dev copied to clipboard

prioritize location of `trigger.config.ts` file to set the "base" path instead of package.json

Open ericallam opened this issue 1 year ago • 1 comments

Some monorepo setups don't have a package.json inside the individual workspace (instead they just have 1 at the root of the monorepo), which messes up some path resolution logic during the dev command. We should use the trigger.config.ts file path instead of the package.json to determine the "base" path when running the dev command to fix this.

ericallam avatar Nov 12 '24 10:11 ericallam

Hey @ericallam working on this issue, can you check the PR once

Seems like https://github.com/triggerdotdev/trigger.dev/pull/1778 was closed and V4 has this.

BrentFarese avatar Nov 19 '25 05:11 BrentFarese