sprite-env services ignores --dir and --env options?

I’m running `sprite-env services create github-webhooks --dir ~/llmutils/dist/webhooks --env GITHUB_WEBHOOK_SECRET=secret --cmd ~/llmutils/dist/webhooks/server`

And it appears that neither --dir nor --env is actually used. When I log process.env and process.cwd() I don’t see either of them taking effect.

Am I doing something wrong here?

It’s never worked for me, either. Possibly I’ve just misunderstood what it’s meant to do, but I had to same assumption you did. I’ve created a support ticket, I’ll let you know if I hear anything.

1 Like

This is indeed a bug. I have made a patch to the sprite environment to correctly honor these flags. That change is currently in an RC build.

These RC builds sometimes take a while to bake and roll out so I don’t have an ETA on when this will land. I will update here when I do.

3 Likes

Great, thanks for the update!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.