Questions tagged [gulp-connect-php]
11 questions
3
votes
1 answer
Gulp 4 php with browserSync
I am new to gulp-4.
I try run gulp js with php, browserSync it doesn't work?
All other task work but php and browserSync not work at all.
it's not open with browser anything is here wrong?
is it possible to use with php with browserSync or any…

pcmax
- 33
- 1
- 8
3
votes
0 answers
Can't use gulp (with gulp-connect-php and gulp-browser-sync) with multiple projects
I've recently started using gulp and have a nice workflow but when I added the gulpfile to a new project, every time I run gulp from the original project directory, it serves the newest project and I have no idea what I've done.
This should be the…

martincarlin87
- 10,848
- 24
- 98
- 145
2
votes
0 answers
BrowserSync error: "You tried to start BrowserSync twice"
This script works and refreshes my page, and runs all the tasks I have set up, but it gives me "You tried to start BrowserSync twice" in my terminal every time it runs.
As far as I've researched, the cause should be the browserSync.reload I've…

CALEBUNGA
- 29
- 3
2
votes
0 answers
Using Gulp + BrowserSync + Connect PHP for Multiple Projects
I've put together a boilerplate gulp setup for myself when setting up a new webapp project and I'm having some trouble with using BrowserSync, and Connect-PHP in tandem.
Here's are my tasks for spinning up the server and starting…

Kevin Haag
- 145
- 1
- 2
- 10
1
vote
0 answers
Setting up a test server with Gulp, PHP and browser-sync
I've inherited a static project using Gulp (which i'm new to) and the client is asking to add server side functionality. I'm trying to perform local development with php and gulp as well as using browser-sync.
I have checked that php is installed as…

DansBananaLoafcake
- 31
- 6
0
votes
1 answer
How to get Browser-Sync to serve PHP-Files in Gulp 4
I am working on a gulpfile which already works fine when its processing html/scss/js. Now I want to have my site on PHP-basis and need Browser-Sync to serve my PHP instead of showing "Cannot GET /" in the browser. I know that implies some path issue…

m-podolski
- 5
- 7
0
votes
2 answers
browserSync not working in gulpfile
i am new to node.js and gulp.
I am trying to a get browserSync working with php and a watch on the scss files, to compile them automatically.
Here is my gulpfile.
var gulp = require('gulp');
var connectPHP = require('gulp-connect-php');
var…

xola
- 455
- 1
- 4
- 15
0
votes
1 answer
Gulp-Connect-Php + browserSync + Gulp-Connect address in use issue
I need an ability to use browserSync with php support and some specific url rewrites. I came up with browserSync with Gulp-Connect-Php packages plus Gulp-Connect + modrewrite.
Here is my config:
var
browserSync = require('browser-sync'), …

Ssey
- 65
- 8
0
votes
1 answer
Endless reload with browserSync and gulp-connect-php
I finally got around to build my own task runner but I'm stuck on a feature I really need, namely browserSync but I use php with XAMPP.
The problem: terminal keeps telling me "PHP server not started. Retrying...".
Since I'm new to all this I can't…

Stefan Vilonel
- 11
- 2
0
votes
1 answer
gulp-connect-php not working
I cannot get gulp-connect-php to work. I tried about everything SO and the www has to offer. The message I get is as following.
PHP server not started. Retrying...
Here's the last code I've tried.
gulp.task('connect', function() {
…

Tobias Philipp
- 93
- 1
- 13
0
votes
1 answer
Gulp-connect-php not starting PHP server on one PC
I have a project that is using node and php. I have been using gulp-connect-php npm package to serve up the php server.
Now I am trying to clone this project over to my laptop from my desktop. I have shrinkwrapped the dependencies and the project is…

Jenning Ho
- 1
- 1
- 3