Hi there ,
When running netlify dev
I get the following message:
◈ No app server detected and no “command” specified
However, in my netlify.toml
file, I have specified a build command
:
[build]
publish = "_site"
command = "npm run build"
The consequence is that when running netlify dev, it never actually executes npm run build
and my site output is not generated.
Here’s a sample project
Github: https://github.com/KyleMit/netlify-dev-test
Netlify: https://netlify-dev-test-kylemit.netlify.app/
The site runs just fine on production, but I’d love to be able to put in some dev cycles locally
Any ideas as to how I can convince netlify dev
that I have a local “app server” or “command”?
Thanks!