Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

File changes sometimes cause double reloads #74

Closed
bmuenzenmeyer opened this issue Aug 25, 2016 · 0 comments · Fixed by #75
Closed

File changes sometimes cause double reloads #74

bmuenzenmeyer opened this issue Aug 25, 2016 · 0 comments · Fixed by #75

Comments

@bmuenzenmeyer
Copy link
Member

I am using Pattern Lab Node- Gulp Edition v1.3.0 on Windows.

Expected Behavior
  • when I save a pattern, I expect pattern lab to rebuild once
Actual Behavior
  • double reloads occur

I've researched this and found the issue, outlined here: http://stackoverflow.com/questions/21608480/gulp-js-watch-task-runs-twice-when-saving-files

I confirmed by saving with Atom vs Notepad. Atom saves caused double reloads. Notepad does not.
I've added these chokidar flags to the watches and it appears to resolve the issue.

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

Successfully merging a pull request may close this issue.

1 participant