Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Temp files not deleted #20
Hi I'm using your module with supervisor and have set up my server to recompile all my js and css when the server reboots due to a file change.
Problem is that your code seems to spit out a lot of temp files and not cleaning them up.
Is there any way you can add a simple -cleanup style parameter to the options so these can be deleted automatically?
Well all I'm doing is calling your method:
Perhaps when I'm using supervisor it's stopping and restarting before your callbacks can be called and the temp files deleted?
It basically looks when files are modified and then reboots the server.
Do you perform all the cleanup before the final file is outputted?
Can you try with a / in your tempPath ? tempPath: '../tmp/'
I was testing some others possibilities, all seems good.