-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Work with grunt-webfont #45
Comments
Something strange happens to
But when I run
|
My "proxy task" workaround until this is resolved. Add some grunt-newer compatible proxy task configuration options inside grunt.initConfig // Add src and dest attributes to your "icons" proxy task for grunt-newer.
icons: {
build: {
// used src from the svgmin config and dest from webfont config.
src: 'assets/icons/*/min/*',
dest: 'assets/fonts/'
}
} Register the proxy task. // add wrapper task to fix grunt-newer/webfont compatibility issue
grunt.registerTask('icons', 'build glyphicons.', function() {
grunt.task.run('svgmin','webfont');
}); //use "'newer:icons'" to build the glyphicons using grunt-newer |
Hi Any chances to see native fix of that issue? |
/ping |
Test repository: https://github.com/artpolikarpov/newer-webfont-test
Just can’t prefix grunt-webfont with grunt-newer.
When I simply run
grunt
I get this:But
webfont.icons.src
is in Gruntfile.js.When I run unprefixed
grunt webfont
and thengrunt
again everything looks fine:But now it doesn’t react to the changes in src/icons/ and always says that “no newer files to process”:
What is wrong?
/cc @sapegin — creator of grunt-webfont
The text was updated successfully, but these errors were encountered: