Last active
August 15, 2020 22:48
-
-
Save SOSANA/b1a14bc856b3d7f8afc62c2eedfceec8 to your computer and use it in GitHub Desktop.
Google Chrome Live Server browser-sync setup for Linux or Windows OS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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