Skip to content

Commit e07996e

Browse files
committed
docs: Add @SInCE flag to new scroll options
2 parents d2e2012 + 27aee2f commit e07996e

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

lib/default-config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ module.exports = {
292292
* @property scrollElements
293293
* @type Array
294294
* @default []
295+
* @since 2.9.0
295296
*/
296297
scrollElements: [],
297298

@@ -304,6 +305,7 @@ module.exports = {
304305
* @property scrollElementMapping
305306
* @type Array
306307
* @default []
308+
* @since 2.9.0
307309
*/
308310
scrollElementMapping: [],
309311

lib/file-watcher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports.plugin = function (bs) {
1212
var emitter = bs.emitter;
1313

1414
var defaultWatchOptions = require("immutable").Map({
15-
ignored: /[\/\\]\./
15+
ignored: /^([.][^.\/\\])|([\/\\]+[.][^.])/
1616
})
1717
.mergeDeep(
1818
options.get("watchOptions") || options.get("watchoptions")

0 commit comments

Comments
 (0)