new Date().getDate();
const path = require('path');
const gulp = require('gulp');
const plumber = require('gulp-plumber');
gulp.task('scripts', async function () {
gulp.src(path.resolve(__dirname,'src/js/background.js'))
.pipe(plumber())
...
.pipe(gulp.dest(path.resolve(__dirname,'dist/js')));