I'm trying to figure out a way to make polyserve / polymer-cli to reload my browser each time a "watched" file changes but I haven't found anything apart of adding Livereload to the HTMLs files that I think is going to be a mess due that when developing web components I load separate HTML files.
Watch and reaload for polymer serve / polyserve?
2.3k views Asked by AlbertoFdzM At
2
There are 2 answers
Related Questions in POLYMER
- Understanding Polymer data-binding and HTML tags
- How to set a component published attribute
- Trying to append a Polymer element in another Polymer element
- How to inject HTML into a template with Polymer 1.x?
- Polymer 1.0 on Firefox, Safari /deep/ selector not working
- "Element name could not be inferred" error in Firefox with Polymer 1.x
- Polymer 1.0 Data Binding in <styles>
- does it make sense to browserify polymer elements` js?
- Two way data binding in dom-repeater
- Periodically update Polymer Binding
Related Questions in RELOAD
- Swift: tableView.reloadData() way too slow
- Can I read or update dynamically the multiple Mule app properties without reloading or restarting?
- How can chrome app reload itself? (document.location.reload is not allowed)
- Load data Query with regular expression
- github page blog from jekyll needs force reload to show changes with posts
- Android OpenGL es 2.0 Can not reload textures on object.
- AJAX change comment on table row click
- google places auto complete not working on redirect
- How to delete functions of previous instances of controller?
- Jquery- reload doesnt occur if clicked second time
Related Questions in WATCH
- Processing Live Coding. Emulating Ruby Processing watch with Sublime Text build system
- adding watch for an editable row in angularjs
- How to get Apple Watch to update pages created with WKInterfaceController reloadRootControllersWithNames: contexts?
- scope.$watch not working in angular directive
- Add content to My Watch app menu
- Visual Studio 2013 C++ watch window: arrays copy incorrectly to clipboard
- bind textbox to selectlist
- watch command not running on a script
- How can I find out what's causing a $watch to fire on a scope variable?
- Finding variable value in Eclipse Debug Perspective
Related Questions in POLYMER-CLI
- How to identify what polymer-cli version installed on my computer?
- Watch and reaload for polymer serve / polyserve?
- Can webpack works like polymer cli?
- Polymer-starter-kit: my-app.html missing from bundled build folder
- Integrate Polymer test build process into Jenkins CI/CD pipeline
- Polymer CLI not creating bower_components folder on Windows 7
- Why does "polymer build" throw the error "File not found with singular glob"?
- polymer test -l chrome: Could not request headers from https://download.microsoft.com
- Polymer CLI Build | Cache Busting Techniques
- Polymer 3 build - bundle errors in browser when trying to access mixin
Related Questions in SERVE
- Watch and reaload for polymer serve / polyserve?
- Laravel Homestead: 'php artisan serve' not working
- Serve css files dynamically in raw node.js
- php artisan serve [ErrorException] laravel
- ng build prod doesn't return a model field
- Why could I only request the index.htm when I had run a yarn serve at local. I could not request other file,
- GLTF file is not getting serve in GCP/app engine
- ng serve giving error on newly created angular project
- Default react project - ERROR BY SETTING HOMEPAGE- Uncaught SyntaxError: Unexpected token '<', i've read many answers none work
- media file not serve in django with wihtenoise
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
For auto reloading using Polymer CLI as a server in your project you should have node / yarn installed. Then you need to install browser-sync locally.
npm install -D browser-syncor
yarn add browser-sync --devYour
package.jsonfile will need to look something like:(If its a regular Polymer app you should remove the
--startPathargument as that is for Polymer component development)