We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I try to modify
"scripts": { "sync": "browser-sync start -p 'localhost/wp' --files '**/*.php' 'build/*.js' 'build/*.css'",
But after npm run sync, the URL will jump to http://localhost/%27localhost/wp%27 Weird, what did I do wrong? Thanks
http://localhost/%27localhost/wp%27
The text was updated successfully, but these errors were encountered:
Hi @aboutjquery
On Windows, you need to use the slash to escape and use double quotes, like this: \"localhost/wp\"
\"localhost/wp\"
Your code will look like this: "sync": "browser-sync start -p \"localhost/wp\" --files '**/*.php' 'build/*.js' 'build/*.css'",
"sync": "browser-sync start -p \"localhost/wp\" --files '**/*.php' 'build/*.js' 'build/*.css'",
Sorry, something went wrong.
No branches or pull requests
I try to modify
But after npm run sync, the URL will jump to
http://localhost/%27localhost/wp%27
Weird, what did I do wrong? Thanks
The text was updated successfully, but these errors were encountered: