You can't run local dev if your project doesn't have any apps, but right now hs project dev doesn't tell you that until after prompting you to select a sandbox to test with. The way that the dev command is set up now, the LocalDevManager is responsible for determining runnable components, which happens after a lot of prompting. A more robust solution would involve determining runnable components earlier in the dev process, but I think this will work fine for now and we can make things more flexible when we rethink the dev servers/dev command.
Description and Context
You can't run local dev if your project doesn't have any apps, but right now
hs project dev
doesn't tell you that until after prompting you to select a sandbox to test with. The way that thedev
command is set up now, theLocalDevManager
is responsible for determining runnable components, which happens after a lot of prompting. A more robust solution would involve determining runnable components earlier in thedev
process, but I think this will work fine for now and we can make things more flexible when we rethink the dev servers/dev command.Screenshots
Before (you get prompted)
After (exits immediately)
Who to Notify
@brandenrodgers @kemmerle @joe-yeager