phonegap / phonegap-cli

PhoneGap and PhoneGap/Build command-line interface
Apache License 2.0
488 stars 157 forks source link

Possibility of preventing certain files or folders from reloading the page during `phonegap serve` #809

Open Hissvard opened 5 years ago

Hissvard commented 5 years ago

An example:

The browser will reload the page twice: When the scss file is changed by the editor and when the file is compiled to css. Waiting for the page to reload twice at every change is a pretty slow way to develop.

It would be perfect if one could issue something like

phonegap serve --ignore /scss/
// or
phonegap serve --unwatch /scss/

to prevent certain files or folders from reloading the page when changed.