-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New files added to src are not detected #74
Comments
I came here to report the same issue. Basically have an almost identical setup to yours @startswithaj Let me know if I can provide anything useful from my setup. |
bump |
The task works by comparing the I'm not sure how you are removing one of your source files, but the way to trigger another build of the dest file would be to remove it as well. |
i know @startswithaj 's problem.because i have the same question. |
+1, same problem. |
If you have a grunt task that has a src:[] of files and you add or remove a file from this array newer does not detect this change and run the respective grunt task this occurs on version 0.8.0.
Take for example;
if you remove one of this files so the task looks like (remove localForage):
and run grunt newer:uglify:lib it will say
No newer files to process.
I would expect it to rebuild the lib.js without the file that has been removed from the list.If you run this with the ---verbose the
Files:
output shows that localForgage file is not longer part of the src list but still does not initiate the task.The same happens in reverse if for instance you add another file
When run with ---verbose the 'Files:' output includes simplePagination but it does not trigger the uglify task.
Am I missing something?
The text was updated successfully, but these errors were encountered: