Skip to content

Directory ../ does not exist. #48

@mdurchholz

Description

@mdurchholz
/project
    /assets
    /sources
        gulpfile.js
        package.json
    index.php

I currently have all of my gulp and npm related files inside a "sources" folder. I am wanting to declare my base directory one layer up

var gulp        = require('gulp'),
    plugins     = require('gulp-load-plugins')(),
    connect     = new plugins.connectPhp(),
    browserSync = require('browser-sync').create();

gulp.task('connect', function() {
    connect.server({ base: '../', port: 8010}, function(){
        browserSync.init({
            proxy: '127.0.0.1:8010',
            notify: false,
            port: 8080
        });
    });
});

I don't receive any errors that kill the process but it does console the following:

Directory ../ does not exist.

I am on Windows 10 and am currently using the following package versions:

"gulp": "*",
"gulp-connect-php": "^1.0.1",

"browser-sync": "^2.18.13"

What's odd is that this same exact setup works perfectly fine on my Mac. I'm not sure why Windows is having problems.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions