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", | |
"start:win32": | |
"browser-sync start --server --files '**/*.css, **/*.html, **/*.js, !node_modules/**/*' --directory --port 7777 --browser \"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\"", | |
"start:darwin:linux": | |
"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