Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Task Hangs #35

Open
Exagram opened this issue Feb 19, 2016 · 1 comment
Open

Task Hangs #35

Exagram opened this issue Feb 19, 2016 · 1 comment

Comments

@Exagram
Copy link

Exagram commented Feb 19, 2016

Hey, can anybody chime in on why this library stalls?

Environment:

OS: Windows 7 64bit
node (64bit): v4.3.0
grunt-cli (global): 0.1.13
grunt: 0.4.5
grunt-svg-to-png: 0.2.5 (I even tried 0.2.7)

cat GruntFile.js:
...
svg2png: {
all: {
files: [
{ src: ['images/icons/svg/*.svg'], dest: 'images/icons/png/' }
]
}
}
...

Additionally, I tried replacing the GruntFile line with: { cwd: '.', src: ['images/icons/svg/*.svg'], dest: 'images/icons/png/' }, but this failed too.

Console log:
Rasterizing SVG to PNG (206 files)...
...............................................................................................................................................................................................................

6.2s

@JREAM
Copy link

JREAM commented Jun 8, 2017

I think we need pn/fs to create promises and limit this all at once as it can't handle over 5 SVG's it seems.

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