Update netlify dev to avoid framework prompt
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 ```
Showing
想要评论请 注册 或 登录