Last 12 weeks · 0 commits
4 of 6 standards met
I have a watch command which when LESS files are updated it automatically compiles and minifies them (and the same with JS). If I place a task to be triggered by each, then it will double up the header in each file. I can see two alternatives but neither seems perfect. duplicate the into two separate and tasks. Each only updating their respective files. Only add the trigger to one of the watch profiles, but it updates all files. Problem here is if I add it to CSS but make a change to JS, then the new .js file will not have the header in it. Any advice? Thanks.
Repository: sindresorhus/grunt-header. Description: Add a header to files Stars: 11, Forks: 2. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Open PRs: 0, open issues: 0. Last activity: 5y ago. Community health: 71%. Top contributors: sindresorhus, Richienb.