I have a task that pulls data from my package.json and inserts it in to some PHP files, for things like version number, site name, etc. Is there a way to tell gulp-newer to say "if ./package.json is changed, then compile *.php" ?
I think the solution for this would be to add a new gulp task that checks if the package.json is newer and if so deletes all the files that need replaced.
I have a task that pulls data from my package.json and inserts it in to some PHP files, for things like version number, site name, etc. Is there a way to tell gulp-newer to say "if ./package.json is changed, then compile *.php" ?