Help test upcoming Hugo 0.50

@kaushalmodi I don’t mean to bring this thread off-topic, but something like the below would keep you from typing out the --disableFastRender flag on CLI every time. You could just run hugo server as normal.

hugo() {
    if [[ "$@" == server* ]]; then
        options="${@#'server'}"
        command hugo server --disableFastRender "$options"
    else
        command hugo "$@"
    fi
}
2 Likes