Answer the question
In order to leave comments, you need to log in
How to setup php server with gulp livereload?
I did not find an answer to the question even on foreign sites. The essence of the problem:
there is a folder that contains index.php , sass files and other less important project files. It is necessary that when changing sass or php files, livereload works in the browser.
Here is a tutorial in which almost everything is told on the fingers phpocean.com/tutorials/front-end/automate-your-wor...
but there is one point that I did not understand:
Remember, before you run any php instruction, you need a php server . So, through this error gulp is trying to tell us that there is no php server found.
Let's say I have openserver , how can I make friends with this gallp task with my server? If I understand correctly gulp looks at localhost:8080 in the example from the tutorial, should the server already be running at this address? What then does:
proxy:'127.0.0.1',
port:8080
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question