GitShow/sindresorhus/grunt-header
sindresorhus

grunt-header

Add a header to files

by sindresorhus
Star on GitHubForknpm

JavaScript

11 stars2 forks2 contributorsQuiet · 5y agoSince 2014MIT

Meet the team

See all 2 on GitHub →
sindresorhus
sindresorhus14 contributions
Richienb
Richienb1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
Richienb
Move to GitHub ActionsMergedPR
Richienb · 5y ago
louiswalch
Question about using grunt-header in multiple watch triggersClosedIssue

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.

louiswalch · 9y ago
Structured data for AI agents

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.

·@ofershap

Replace github.com with gitshow.dev