Quantcast
Channel: What does `{,*/}` mean in paths of Gruntfile.js? - Stack Overflow
Browsing latest articles
Browse All 5 View Live

Answer by Miku Ghoul for What does `{,*/}` mean in paths of Gruntfile.js?

The answer is globbing-patterns .The other answers had already answer what does{,*/}* mean.But the different between **/ and {,*/}* is folder depth./styles/{,*/}*.less has been divided into two...

View Article



Answer by Rockallite for What does `{,*/}` mean in paths of Gruntfile.js?

These are globbing patterns for Grunt, supported by the node-glob and minimatch libraries.Basically:* matches any number of characters, but not/** matches any number of characters, including/, as long...

View Article

Answer by vkurchatkin for What does `{,*/}` mean in paths of Gruntfile.js?

This pattern is widely used in yeoman templates: it means to look only one level deep inside folder hierarchy. It is used mostly for performance reasons since watching too many files simultaneously can...

View Article

Answer by JRP for What does `{,*/}` mean in paths of Gruntfile.js?

I believe you're using a minimatch pattern there. The double asterisk is a glob that causes recursion into subdirectories. The single asterisk only matches 0 or more characters in the current directory...

View Article

What does `{,*/}` mean in paths of Gruntfile.js?

In Gruntfile.js, I have got:watch: { styles: { files: ['<%= yeoman.app %>/styles/{,*/}*.less' ], tasks: ['copy:styles', 'autoprefixer'] }}For the path, what does {,*/} mean indeed? How does it...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>