browser-sync

WebJar for browser-sync

License

License

GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

browser-sync
Last Version

Last Version

2.26.7
Release Date

Release Date

Type

Type

jar
Description

Description

browser-sync
WebJar for browser-sync
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/BrowserSync/browser-sync

Download browser-sync

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/browser-sync/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>browser-sync</artifactId>
    <version>2.26.7</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/browser-sync/
implementation 'org.webjars.npm:browser-sync:2.26.7'
// https://jarcasting.com/artifacts/org.webjars.npm/browser-sync/
implementation ("org.webjars.npm:browser-sync:2.26.7")
'org.webjars.npm:browser-sync:jar:2.26.7'
<dependency org="org.webjars.npm" name="browser-sync" rev="2.26.7">
  <artifact name="browser-sync" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='browser-sync', version='2.26.7')
)
libraryDependencies += "org.webjars.npm" % "browser-sync" % "2.26.7"
[org.webjars.npm/browser-sync "2.26.7"]

Dependencies

compile (30)

Group / Artifact Type Version
org.webjars.npm : eazy-logger jar [3.0.0,4)
org.webjars.npm : connect-history-api-fallback jar [1.0.0,2)
org.webjars.npm : send jar [0.16.2]
org.webjars.npm : dev-ip jar [1.0.1,2)
org.webjars.npm : portscanner jar [2.1.1]
org.webjars.npm : browser-sync-ui jar [2.26.4,3)
org.webjars.npm : http-proxy jar [1.15.2]
org.webjars.npm : serve-index jar [1.9.1]
org.webjars.npm : opn jar [5.3.0]
org.webjars.npm : yargs jar [6.4.0]
org.webjars.npm : bs-recipes jar [1.3.4]
org.webjars.npm : localtunnel jar [1.9.2]
org.webjars.npm : immutable jar [3.0.0,4)
org.webjars.npm : socket.io jar [2.1.1]
org.webjars.npm : fs-extra jar [3.0.1]
org.webjars.npm : micromatch jar [3.1.10,4)
org.webjars.npm : easy-extender jar [2.3.4,3)
org.webjars.npm : serve-static jar [1.13.2]
org.webjars.npm : chokidar jar [2.0.4,3)
org.webjars.npm : ua-parser-js jar [0.7.17]
org.webjars.npm : fresh jar [0.5.2,0.6)
org.webjars.npm : resp-modifier jar [6.0.2]
org.webjars.npm : etag jar [1.8.1,2)
org.webjars.npm : rx jar [4.1.0]
org.webjars.npm : server-destroy jar [1.0.1]
org.webjars.npm : raw-body jar [2.3.2,3)
org.webjars.npm : connect jar [3.6.6]
org.webjars.npm : qs jar [6.2.3]
org.webjars.npm : browser-sync-client jar [2.26.6,3)
org.webjars.npm : bs-snippet-injector jar [2.0.1,3)

Project Modules

There are no modules declared in this project.

Keep multiple browsers & devices in sync when building websites.

Browsersync is developed and maintained internally at JH

Follow @Browsersync on twitter for news & updates.

Community

Features

Please visit browsersync.io for a full run-down of features

Requirements

Browsersync works by injecting an asynchronous script tag (<script async>...</script>) right after the <body> tag during initial request. In order for this to work properly the <body> tag must be present. Alternatively you can provide a custom rule for the snippet using snippetOptions

Upgrading from 1.x to 2.x ?

Providing you haven't accessed any internal properties, everything will just work as there are no breaking changes to the public API. Internally however, we now use an immutable data structure for storing/retrieving options. So whereas before you could access urls like this...

browserSync({server: true}, function(err, bs) {
    console.log(bs.options.urls.local);
});

... you now access them in the following way:

browserSync({server: true}, function(err, bs) {
    console.log(bs.options.getIn(["urls", "local"]));
});

Install and trouble shooting

browsersync.io docs

Integrations / recipes

Browsersync recipes

Support

If you've found Browser-sync useful and would like to contribute to its continued development & support, please feel free to send a donation of any size - it would be greatly appreciated!

Support via PayPal

Apache 2 Copyright (c) 2019 Shane Osbourne

org.webjars.npm

Browsersync

Time-saving synchronised browser testing. An @wearejh project

Versions

Version
2.26.7
2.26.5
2.23.6
2.18.13
2.13.0
2.7.13
2.7.4