{"id":15542829,"url":"https://github.com/dustinfarris/broccoli-bs","last_synced_at":"2025-04-06T04:18:19.145Z","repository":{"id":142138732,"uuid":"91842590","full_name":"dustinfarris/broccoli-bs","owner":"dustinfarris","description":"Use browser-sync in your broccoli-pipeline","archived":false,"fork":false,"pushed_at":"2017-05-19T20:24:27.000Z","size":23,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-03T12:27:03.986Z","etag":null,"topics":["broccoli-plugin","browser-sync"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dustinfarris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-19T20:22:56.000Z","updated_at":"2023-09-08T17:25:14.000Z","dependencies_parsed_at":"2023-03-17T12:15:55.157Z","dependency_job_id":null,"html_url":"https://github.com/dustinfarris/broccoli-bs","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"777edc7174606f93bb40e63d1d48158a0089ed4c"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinfarris%2Fbroccoli-bs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinfarris%2Fbroccoli-bs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinfarris%2Fbroccoli-bs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinfarris%2Fbroccoli-bs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dustinfarris","download_url":"https://codeload.github.com/dustinfarris/broccoli-bs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247431012,"owners_count":20937883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["broccoli-plugin","browser-sync"],"created_at":"2024-10-02T12:24:37.274Z","updated_at":"2025-04-06T04:18:19.120Z","avatar_url":"https://github.com/dustinfarris.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# broccoli-bs\n\nLaunch browser-sync and listen for changes.\n\n## Installation\n\n```\nyarn add -D broccoli-bs\n```\n\n\n## Usage\n\nGive broccoli-bs a list of nodes to watch.  When anything changes,\nbroccoli-bs will tell browser-sync to reload the browsers.  If the\nonly change is a CSS file, browser-sync will inject the new CSS live!\n\nYou may also provide options to the plugin.  The `bs` option will be\npassed on to browser-sync.  See [browser-sync options](https://www.browsersync.io/docs/options).\n\n\n### Example\n\n```js\n// Brocfile.js\n\nconst BrowserSync = require('broccoli-bs');\nconst merge = require('broccoli-merge-trees');\n\n// ...\n\nconst assets = merge([ imgTree, jsTree, cssTree ]);\n\nconst browserSync = new BrowserSync(assets, {\n  bs: {\n    proxy: 'http://localhost:4000',  // maybe you have a Phoenix server running?\n    open: false  // maybe you don't want browser to open automatically?\n  }\n});\n\nmodule.exports = merge([ assets, browserSync ]);\n```\n\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustinfarris%2Fbroccoli-bs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdustinfarris%2Fbroccoli-bs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustinfarris%2Fbroccoli-bs/lists"}