Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Start local server from extension #226

Closed
estruyf opened this issue Jan 14, 2022 · 5 comments
Closed

Enhancement: Start local server from extension #226

estruyf opened this issue Jan 14, 2022 · 5 comments
Labels
enhancement New feature or request
Milestone

Comments

@estruyf
Copy link
Owner

estruyf commented Jan 14, 2022

Add the functionality to start the local server from the extension:

  • Known server command or custom commands
@estruyf estruyf added the enhancement New feature or request label Jan 14, 2022
@estruyf estruyf added this to the 6.0.0 milestone Jan 19, 2022
@estruyf
Copy link
Owner Author

estruyf commented Jan 19, 2022

image

@bwklein
Copy link

bwklein commented Jan 19, 2022

What directory will this command run in?

@estruyf
Copy link
Owner Author

estruyf commented Jan 19, 2022

It will open a terminal at the given project location. If it needs to run somewhere else, you'll have to update the command. For instance, you should be able to use: cd ./folder && hugo server -D.

@bwklein
Copy link

bwklein commented Jan 20, 2022

The button works and launches the local dev based on the "Local server command".

The only issue I see is that it seems to state the command twice and then actually executes it in the terminal. See the screenshot below.

image

@estruyf
Copy link
Owner Author

estruyf commented Jan 21, 2022

It is just a message, not the actual command. I'll change this to only mention it will start the local server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants