B
B
Black_Fire2021-08-07 16:05:44
xampp
Black_Fire, 2021-08-07 16:05:44

Why doesn't browsersync work for a dynamic site?

I installed wordpress on xamp, I want to add a hot reload to display the changes, but on the command

browser-sync start --proxy "localhost/my-site --files "**/*" --no-notify

gives an error message
The term 'browser-sync' is not recognized as the name of a cmdlet, function, script file, or 
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and     
try again.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Black_Fire, 2021-08-07
@Black_Fire

It was necessary to install browser-sync globally

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question