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

Watch task for changes on SVG not working #1280

Closed
derweili opened this issue Jun 12, 2018 · 2 comments
Closed

Watch task for changes on SVG not working #1280

derweili opened this issue Jun 12, 2018 · 2 comments

Comments

@derweili
Copy link
Collaborator

How can this bug be reproduced?

  1. Start the gulp watch task
  2. When the watch task ist running, place a new or edit an existing svg file inside the images folder

What did you expect to happen?
I expected the svg to be copied to the assets folder and the browser should reload after successful copy process.

What happened instead?
The watch task does not watch for changes on svg files. They are only copied once when starting the watch task by the copy task but when a new svg file ist added later while the watch task is already running they are not copied anymore.

Please List the Following:

  • OS & version: macOS 10.13.3
  • Node version (node -v) [Node v4+ is required] : v8.10.0 but also testet with v6.13.0
  • FoundationPress version (see line 3 in package.json): 2.10.4
  • Foundation version (found in node_modules/foundation-sites/package.json) : 6.4.3
derweili added a commit to derweili/FoundationPress that referenced this issue Jun 12, 2018
@derweili
Copy link
Collaborator Author

This may not be the most sexy solution but it works well.
Maybe there is a gulp expert who can solve this issue in a cleaner way.

@olefredrik
Copy link
Owner

Fixed in #1281

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

No branches or pull requests

2 participants