dennisreimann / uiengine

Workbench for UI-driven development
https://uiengine.uix.space/
MIT License
366 stars 25 forks source link

Reduced 2s file watching delay for faster refreshes #17

Closed naltatis closed 6 years ago

naltatis commented 6 years ago

By default chokidar polls the changed file every 100ms for 2000ms to make sure it does not change. I've lowered these values to 50/200 to get faster turnaround. https://github.com/paulmillr/chokidar#api

Also the additional 250ms debounce now is at 100ms.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 91.542% when pulling e546e43792ebedc933a5c3d23180cb1422dfa66a on naltatis:faster-watching into 4fb2dc4c4e750d77d95fa18e5e01efb5b5938d6e on dennisreimann:master.

naltatis commented 6 years ago

Restored the 250ms debounce due to test issues in node LTS. Couldn't figure out what was going wrong there.

dennisreimann commented 5 years ago

@all-contributors please add @naltatis for code.

allcontributors[bot] commented 5 years ago

@dennisreimann

I've put up a pull request to add @naltatis! :tada: