Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

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

Open
Hissvard opened this issue Mar 14, 2019 · 0 comments

Comments

@Hissvard
Copy link

An example:

  • scss --watch /scss/file.scss:/../css/file.css
  • phonegap serve
  • Open localhost:3000 in your browser
  • Make a change to the scss file, then save.

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants