
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
grunt-touch
Advanced tools
Touch files
A grunt wrapper for node-touch.
npm install grunt-touch --save-dev
grunt.loadNpmTasks('grunt-touch');
grunt.initConfig({
touch: ['file.js'],
});
grunt.loadNpmTasks('grunt-touch');
grunt.initConfig({
touch: {
options: {
match: true,
},
target: ['match_*.js'],
},
});
grunt.loadNpmTasks('grunt-touch');
grunt.initConfig({
touch: {
options: {
time: Date.now() + 5000, // Set time to 5 seconds in the future
},
target: ['file.js'],
},
});
See node-touch options.
Additionally the following option is supported:
Type: Boolean
Default value: false
By default a list of file paths is expected - those files will be touched.
If you want to match the files by using patterns instead, set match to true.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Copyright (c) 2013 Paul Spencer. Copyright (c) 2016 Rafał Ruciński. Licensed under the MIT license.
FAQs
Touch files
We found that grunt-touch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.