Rerun codegen when the viewgen input changes.