Skip to content

Instantly share code, notes, and snippets.



Last active Aug 15, 2020
What would you like to do?
Google Chrome Live Server browser-sync setup for Linux or Windows OS
"name": "future-project",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "run-script-os",
"browser-sync start --server --files '**/*.css, **/*.html, **/*.js, !node_modules/**/*' --directory --port 7777 --browser \"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\"",
"browser-sync start --server --files '**/*.css, **/*.html, **/*.js, !node_modules/**/*' --directory --port 7777 --browser 'Google Chrome'"
"author": "SOSANA",
"license": "ISC",
"devDependencies": {
"browser-sync": "^2.18.13",
"run-script-os": "^1.0.2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment