Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection do nothing #99

Open
rafelsanso opened this issue Oct 9, 2017 · 2 comments
Open

Connection do nothing #99

rafelsanso opened this issue Oct 9, 2017 · 2 comments
Labels

Comments

@rafelsanso
Copy link

I have two projects with the same task:

var conn = ftp.create({
        host: myHost,
        user: myUser,
        password: myPass,
        parallel: 10,
        log: gutil.log,
        secure: false,
        debug: true
    });

    var globs = [
        'assets/**',
        'css/**',
        'lib/**',
        'js/**',
        '*.html'
    ];

    return merge([
        gulp.src( globs, { base: 'out', buffer: false, cwd: config.path.out } )
           .pipe(conn.newerOrDifferentSize(env.current.base)),
        gulp.src( ["vendors/**"], { base: 'out/js/', buffer: false, cwd: config.path.out } )
            .pipe(conn.dest(env.current.vendors))
    ]);

In one project, I can execute this code fine. Without problems.
But with an other project, do nothing.

[10:51:34] Starting 'deploy'...
[10:51:34] Finished 'deploy' after 18 ms

The code and the variables are cloned from one project to other. Any idea from the issue?

@andregoncalves
Copy link

Try replacing base: 'out' with base: './out'

@rafelsanso
Copy link
Author

Not works, sorry :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants