• A
    Update netlify dev to avoid framework prompt · 186a8d9c
    Alan Greene 提交于
    Update the dev section as recommended by `netlify dev` to avoid
    the framework selection prompt on startup. Without this the command
    hangs waiting for user input. See output from netlify CLI that
    suggested the change:
    
    ```
    $ netlify dev
    ◈ Netlify Dev ◈
    ◈ Injected netlify.toml file env var: HUGO_VERSION
    ◈ Ignored general context env var: LANG (defined in process)
    ◈ Ignored general context env var: LC_ALL (defined in process)
    ? Multiple possible start commands found Hugo-hugo server -w
    Add 'framework = "hugo"' to the [dev] section of your netlify.toml to avoid this selection prompt next time
    ◈ Starting Netlify Dev with Hugo
    hugo server \
            --baseURL http://localhost:8888/ \
            --buildDrafts \
            --buildFuture \
            --disableFastRender \
            --ignoreCache \
            --watch
    ```
    186a8d9c
netlify.toml 551 字节