MeteorFrontend icon indicating copy to clipboard operation
MeteorFrontend copied to clipboard

tar command, delay

Open matb33 opened this issue 12 years ago • 1 comments

Although the sleep task fix was my own, it turns out it won't do the trick in the long run. The bigger your project, the longer your sleep task will need to run. Mine is now at 2000ms.

My instinct is that when grunt runs tar, it doesn't wait for the command to be finished before continuing other tasks. If I have time I'll try to tackle this, but it's a bit too easy to just increase the delay in the Gruntfile hehe

matb33 avatar Sep 09 '13 13:09 matb33

i thought so too. i used before another script exec grunt task, which seemed to wait for the command to finish. but it said "script exited with error code 0" or something (have to try again) this one: https://github.com/jharding/grunt-exec for now increasing the ms, is probably ok.

frozeman avatar Sep 09 '13 19:09 frozeman