I want to only run my custom AssetPostprocessor while I have the editor window opened and exclude it from running in my CI pipeline, because it dramatically increases build times.
For some reason though, Application.isBatchMode returns true during the AssetPostprocessor.OnPostprocessTexture API.
Is that meant to be intentional?
If yes, what is the intended way to excluding a post processor conditionally, like in the CI pipeline?