@bigbinary/eslint-plugin-neeto 1.1.39 → 1.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +10 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4274,14 +4274,16 @@
|
|
|
4274
4274
|
var previousOptions = null;
|
|
4275
4275
|
var watcher$1 = null;
|
|
4276
4276
|
var watchTranslationsDir = function watchTranslationsDir(translationsDirPath) {
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4277
|
+
try {
|
|
4278
|
+
watcher$1 = fs.watch(translationsDirPath, {
|
|
4279
|
+
persistent: false
|
|
4280
|
+
}, function (_, changedFileName) {
|
|
4281
|
+
var lng = changedFileName.split(".")[0];
|
|
4282
|
+
translationFiles = neetoCist.modifyBy({
|
|
4283
|
+
lng: lng
|
|
4284
|
+
}, ramda.assoc("content", _objectSpread$2(_objectSpread$2({}, parseJsonData(path$2.join(translationsDirPath, changedFileName))), nanosContent[lng])), translationFiles);
|
|
4285
|
+
});
|
|
4286
|
+
} catch (_unused) {}
|
|
4285
4287
|
};
|
|
4286
4288
|
var checkAndReport$4 = function checkAndReport(_ref) {
|
|
4287
4289
|
var _config$context, _config$count;
|