Skip to content

Instantly share code, notes, and snippets.

@SOSANA
Last active November 19, 2019 19:04
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SOSANA/35e2a3108d8804bc69efe28b425e6467 to your computer and use it in GitHub Desktop.
Save SOSANA/35e2a3108d8804bc69efe28b425e6467 to your computer and use it in GitHub Desktop.
Firefox Developer Edition Live Server browser-sync setup for Linux or Windows OS
{
"name": "test-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\\Firefox Developer Edition\\firefox.exe\"",
"//": "Hello! If you are having trouble running this command. Try changing Firefox Developer Edition to FirefoxDeveloperEdition",
"start:darwin:linux": "browser-sync start --server --files '**/*.css, **/*.html, **/*.js, !node_modules/**/*' --directory --port 7777 --browser 'Firefox Developer Edition'"
},
"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