From 5b063dfefe45090420e2874196d0a3e8c5235b15 Mon Sep 17 00:00:00 2001 From: Peter Banik Date: Thu, 15 Jun 2017 23:50:49 +0200 Subject: [PATCH] Watch PO files --- Gruntfile.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index bae9c9032..049f8696e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -93,7 +93,14 @@ module.exports = function(grunt) { 'src/js/controllers/**/*.js' ], tasks: ['concat:js'] - } + }, + gettext: { + files: [ + 'i18n/po/*.po', + 'i18n/po/*.pot' + ], + tasks: ['nggettext_compile','concat'] + }, }, sass: { dist: {