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

Start on open project without entering url and files #193

Open
youngcut opened this issue Jan 26, 2023 · 2 comments
Open

Start on open project without entering url and files #193

youngcut opened this issue Jan 26, 2023 · 2 comments

Comments

@youngcut
Copy link

I tried to find a way that the plugin loads automatically when i open a project and the proxy is already up. I have to run the command every time, specify the url and the files. This takes too long for me. Is there a way to make settings that this happens when opening the project?

@youngcut youngcut changed the title Start on open folder without entering url and files Start on open project without entering url and files Jan 26, 2023
@jeremyrajan
Copy link
Owner

Hey @youngcut, Could you please be more specific on the extension? Thanks!

@youngcut
Copy link
Author

If i like to use your extension, i have to do following steps:

  1. Run command 'Browser Sync: Proxy mode in browser'
  2. Enter the URL of the local server
  3. Enter the files to watch
  4. Open Browser

To save time, this should be done automatically on opening the project folder. With a setting like this:

{
    "browserSync.config": {
        "files": ["./**/*.php"],
        "url": "http://url_to_my_server"
        "autorun": true
    }
}

So that i can open my project and use http://url_to_my_server:3000/right away.

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