Last active
July 1, 2021 07:42
-
-
Save derekbtw/d866b9e6e4e94405fcfca014aa0f9a17 to your computer and use it in GitHub Desktop.
polymer live reload
This file contains hidden or 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
// npm install browser-sync --save-dev | |
// npm run dev | |
{ | |
"name": "polymer-starter-kit", | |
"license": "BSD-3-Clause", | |
"devDependencies": { | |
"browser-sync": "^2.18.8", | |
"eslint": "^3.12.0", | |
"eslint-config-google": "^0.7.1", | |
"eslint-plugin-html": "^1.7.0" | |
}, | |
"scripts": { | |
"dev": "polymer serve | npm run watch", | |
"lint": "eslint . --ext js,html --ignore-path .gitignore", | |
"test": "npm run lint && polymer test", | |
"watch": "browser-sync start --proxy localhost:8081 --files \"src/**/*.*, index.html, *.js\"" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment