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

How to prevent the browser from opening automatically ? #580

Closed
itning opened this issue Feb 24, 2021 · 1 comment
Closed

How to prevent the browser from opening automatically ? #580

itning opened this issue Feb 24, 2021 · 1 comment

Comments

@itning
Copy link

itning commented Feb 24, 2021

Now running the project will automatically open the browser, I want to close this function, how to set it?

@Badisi
Copy link

Badisi commented Feb 25, 2021

This is due to the ng:serve script in the package.json file.

Simply remove the -o parameter:

"scripts": {
    "ng:serve": "ng serve -c web"
}

@itning itning closed this as completed Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants