MyGit

BrowserSync/browser-sync

Fork: 755 Star: 12182 (更新于 2024-11-04 20:41:01)

license: Apache-2.0

Language: JavaScript .

Keep multiple browsers & devices in sync when building websites. https://browsersync.io

最后发布版本: v3.0.3 ( 2024-09-25 00:17:50)

官方网址 GitHub网址

Keep multiple browsers & devices in sync when building websites.

Follow @Browsersync on twitter for news & updates.

Ask questions on Discord

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

Supported by

Originally supported by JH - they provided financial support as well as access to a professional designer to help with Branding.

Apache 2 Copyright (c) 2021 Shane Osbourne

最近版本更新:(数据更新于 2024-10-13 22:39:13)

2024-09-25 00:17:50 v3.0.3

2023-12-28 04:52:02 v3.0.2

2023-12-28 04:08:54 v3.0.1

2023-05-18 06:14:20 v2.29.1

2023-05-18 02:48:09 v2.29.3

2023-03-17 04:30:37 v2.29.0

2023-02-28 06:34:35 v2.28.0

2022-03-15 17:00:25 v2.27.9

2022-03-14 05:31:14 v2.27.8

2021-06-25 01:00:17 v2.27.1

BrowserSync/browser-sync同语言 JavaScript最近更新仓库

2024-11-21 23:03:24 bia-pain-bache/BPB-Worker-Panel

2024-11-21 22:46:48 MHSanaei/3x-ui

2024-11-21 07:00:59 nodejs/node

2024-11-21 00:49:46 FortAwesome/Font-Awesome

2024-11-18 14:26:02 projectdiscovery/nuclei-templates

2024-11-17 14:42:23 koodo-reader/koodo-reader