diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 721559ca..e7b0c537 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -498,6 +498,10 @@ "message": "Live reload", "description": "The label of live-reload feature" }, + "liveReloadError": { + "message": "An error occurred while watching the file", + "description": "The label of live-reload error" + }, "manageFilters": { "message": "Filters", "description": "Label for filters container" diff --git a/content/install-user-css.js b/content/install-user-css.js index 133124ba..150199c2 100644 --- a/content/install-user-css.js +++ b/content/install-user-css.js @@ -46,7 +46,9 @@ function createSourceLoader() { return cb(source); } }) - .catch(console.log) + .catch(error => { + console.log(t('liveReloadError', error)); + }) .then(() => { timer = setTimeout(check, DELAY); });