-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Labels
enhancementNew feature or requestNew feature or requestquick winPotentially easy/straightforward issue to tacklePotentially easy/straightforward issue to tackle
Description
Describe the solution
Given the following, where there's a custom build flow:
[build]
command = "custom_cli build"I'd like to be able to detect whether wrangler dev or wrangler publish has triggered the command, as to do some custom logic in the build command. As far as I can see, it is not possible to detect this at all.
I also tried defining .dev.vars but it seems this is loaded after the custom build command, so I can't use that to detect the environment.
utamori, akaboshinit, Vonarian, tanzilzubair, rmtmckenzie and 2 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestquick winPotentially easy/straightforward issue to tacklePotentially easy/straightforward issue to tackle