From dd0319eeb1e41b8b10caaf176cb5f22c2295422b Mon Sep 17 00:00:00 2001 From: Hans-Peter Herzog Date: Tue, 10 Oct 2017 11:33:32 +0200 Subject: [PATCH] TT#23357 Build: Fix issue with production build watcher Change-Id: I8213cbd61b544642056fbecf1fc16fa33e2086ac --- build/script.build.js | 10 ++++++++++ src/components/Login.vue | 26 +++++++++++++++++++++++--- src/locales/en.json | 4 ++-- src/store/user.js | 1 + 4 files changed, 36 insertions(+), 5 deletions(-) diff --git a/build/script.build.js b/build/script.build.js index b38b7b61..4d7aad57 100644 --- a/build/script.build.js +++ b/build/script.build.js @@ -32,6 +32,16 @@ function finalize () { } webpackConfig.watch = (process.env['CSC_WATCH'])? true : false; +webpackConfig.watchOptions = { + ignored: [ + 'build', + 'config', + 'debian', + 'dist', + 'node_modules', + 'templates' + ] +} webpack(webpackConfig, function (err, stats) { if (err) throw err diff --git a/src/components/Login.vue b/src/components/Login.vue index c180b6bf..a72bf9f7 100644 --- a/src/components/Login.vue +++ b/src/components/Login.vue @@ -78,12 +78,32 @@ } - diff --git a/src/locales/en.json b/src/locales/en.json index 4de6d05f..991088ca 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1,6 +1,6 @@ { - "title": "Sipwise Customer Portal", - "login_title": "Customer Self Care Portal", + "title": "Customer Self-Care Portal", + "login_title": "Customer Self-Care Portal", "login_button": "Sign In", "login_error": "Wrong username or password", "username": "Username", diff --git a/src/store/user.js b/src/store/user.js index c0cd191e..fff02091 100644 --- a/src/store/user.js +++ b/src/store/user.js @@ -3,6 +3,7 @@ import _ from 'lodash'; import { login, getCapabilities, getUserData} from '../api/user'; + export default { namespaced: true, state: {