title: Is there a way to change current gulp base context?
body: <p>Is there a way to change gulp context inside my <code>gulpfile.js</code>?</p>
  
  <p>Right now I'm prefixing all my <code>gulp.src</code> with the location I want. But is there a way to change this globally?</p>
  
  <p>This is the current code I have:</p>
  
  <pre><code>var base = '../';
  gulp.task('copy', function() {
     gulp.src(base + 'sampleFile.js').pipe(gulp.dest('dist/'));
  });
  
  gulp.task('clean', function() {
     del.sync([base + options.dist]);
  });
  </code></pre>
  
  <p>This is somehow what I'm looking for:</p>
  
  <pre><code>gulp.base('../', function() {
      gulp.task('copy', function() {
         gulp.src('sampleFile.js').pipe(gulp.dest('dist/'));
      });
  
      gulp.task('clean', function() {
         del.sync([options.dist]);
      });
  });
  </code></pre>