P
P
Pavel2016-01-09 14:48:21
JavaScript
Pavel, 2016-01-09 14:48:21

How to convert browser-sync command to gulp?

Now I use this command
browser-sync start --proxy="localhost:80" --files="*.html, *.css , *.php"
it spawns my php server and monitors html css and php files, but I you also need to process sass files, and it's better to do it in a gallop.
How to convert this command into a gulp task?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Strukov, 2016-01-09
@pm_wanderer

add a sass processing task to dependency so that before launching the browser it will convert your sass to css

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question