As a user I would like to see a config flag that; when set; after a build will as the last task do a bake of package-index. Currently if I do bitbake some-recipe package-index in one command it does seem to work properly (package-index is not run after some-recipe is build). It is possible to do bitbake some-recipe && bitbake package-index but it would be convenient if there as a variable that could be set making sure that package-index is always run. (and feel free to move this ticket if it is submitted to the wrong project)
A shell alias/script would also work.