regis
regis
CDCloudflare Developers
Created by regis on 12/2/2024 in #pages-help
Build command setting always applied to both environment
From Works & Pages > {projectName} > Settings > Build. The build command set in the "production" environment is applied to "preview" environment as well. Same if applied from the "preview" environment, it is automatically saved to the "production" environment as well. Step to reproduce: 1. Move to Works & Pages > {projectName} > Settings > Build. 2. Toggle the "Choose Environment" switch to preview 3. Update the build command setting and "save" 4. Toggle switch back to production 5. Note that the command applied while toggled on preview is now applied on production Expected behaviour: Build command setting should be only applied to the environment (production or preview) for which it is set. If as designed, UX should be updated to reflect this.
1 replies