Launch local and start specific site using command line

I’m looking for a way to start local using an npm script.

Basically I want to be able to run “npm start” and have it boot local if it’s not already open, and then make sure a specific site is running, and start it if it isn’t.

I’m using windows, but I’m looking for a cross platform method if possible.

If this is not currently possible, I’ll change this into a feature request.

Thanks!

This is a great idea! I don’t think we have anything that’s wired up to do this right now, though there is an experimental Local CLI tool that might get you part of the way.

See this feature request for more details as well as a place to share your use case and up-vote!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.