Unable to change Start command between Staging Production environments

I have two environments, staging and production. I want staging and production to have different start commands. It seems if I change one from the other, it will override the other.
5 Replies
Percy
Percy2y ago
Project ID: N/A
Percy
Percy2y ago
It is possible to have different start commands for staging and production environments, but you should create an additional environment before making any changes to ensure that the changes do not override each other.
⚠️ experimental feature
macwilko
macwilko2y ago
not sure how this helps
Adam
Adam2y ago
Hmm that’s odd, can you please send a screenshot of your environment setup?
macwilko
macwilko2y ago
So the way I solved it Remove the text from "Start command" in the service settings and then configure the NIXPACKS_START_CMD variable individually this works for different services / environments