question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Don’t always add "defaultIgnorePatterns"

See original GitHub issue

Issue details

browser-sync introduced a breaking change in v2.22.0: It added a list of defaultIgnorePatterns that are not only default, but always ignored.

We are often developing with symlinked packages (via npm link/bower link). We intentionally watch certain files in node_modules and bower_components to ease working across package boundaries. This broke in v2.22.0 since these files are now always ignored. There’s no way to disable these “default” ignore patterns—they are unconditionally merged with any ignore patterns defined by the user.

Please specify which version of Browsersync, node and npm you’re running

  • Browsersync [v2.23.7]
  • Node [v8.9.1]
  • Npm [v5.8.0]

Affected platforms

  • linux
  • windows
  • OS X
  • freebsd
  • solaris
  • other (please specify which)

(But it will probably affect the others as well…)

Browsersync use-case

  • API
  • Gulp
  • Grunt
  • CLI

(But it will probably affect the others as well…)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rlubacommented, May 2, 2018

Thank you for your support, I really appreciate it.

0reactions
rlubacommented, May 7, 2018

It works again. Thank you! ✌️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Default ignore patterns in config.xml not working - Feature
There seems to be a syncthing feature “Default ignore patterns” which should address that issue about global ignore patterns.
Read more >
Browsersync on Twitter: "2.24.0 was a very large release - and with ...
Please move straight to 2.24.3 :) fixes Don't always add "defaultIgnorePatterns" - fixes #... 11:58 AM · May 3, 2018·Twitter Web Client.
Read more >
Add option to disable default ignored folders for watchers #888
Please add an option allowing disabling default ignore patterns. In my specific case I have many daemons (10) in many folders.
Read more >
Sharing changes in Rational Rhapsody - IBM
In Rational Rhapsody, you add items to an archive to share them in Rational Team Concert source ... If a file is already...
Read more >
check-manifest - PyPI
check-manifest --version now prints the version number. Don't apologize for not adding rules for directories (especially after adding rules that include files ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found