So I'm having a slight problem with producing production ready scripts for my project. I'm using gulp to concatenate and minify my css and js, and while the css is working fine the gulp js function isn't generating my final file. Please refer to my code below:

```
gulp.task('js', function() {
 return gulp.src([source + 'js/app/**/*.js'])
  .pipe(concat('development.js'))
  .pipe(gulp.dest(source + 'js'))
  .pipe(rename({
   basename: 'production',
   suffix: '-min',
}))
  .pipe(uglify())
  .pipe(gulp.dest(source + 'js/'))
  .pipe(notify({ message: 'Scripts task complete', onLast: true }));
});

```

If anyone has encountered a similar problem or has any tips it would be much appreciated :)