poedit - gulp watch TypeError: glob pattern string required -


i've .po files in application. i've created watch see when translations file have been changed , compile them

gulp.task('translations', () => gulp   .src('po/.*po',)    .pipe(gettext.compile({format: 'json'}))   .pipe(gulp.dest('dist/translations/'))); )  gulp.task('watch', () => {   gulp.watch('po/**/*.po', ['translations']); }); 

i use poedit if change works, if click save button without new change gulp process die throwing error typeerror: glob pattern string required

update

i've changed gulp.watch gulp-watch package , throws me better info

enoent: no such file or directory, stat '/home/rkmax/development/myproject/po/es_es.temp.po' 


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -