Closed frantic1048 closed 8 years ago
I just took a look at fly-kit-web
and browser-sync
. It looks directly usage is fine, may I don't have to wrap such tool as a plugin ?
Nope, I've been using browserSync for months now & haven't lacked anything.
Great! Now I'm clear what to use. This issue seems not so necessary now.
I'm trying to transplant gulp-connect to fly, it uses different methods to control server behavior: start, reload and close.
In gulp, they use
connect.server()
,connect.reload()
to call different methods.In fly documentation, it didn't mention about a plugin other than a single function. How could I achieve similar behavior in fly ?
Or, I should just put these start/reload/close methods in plugin argument, like
.connect({method: 'start', options: {...}})
?