We have cloned the builder2.js and modified it as per our needs. One of the tasks the builder2 performs is creating a symlink from the images folder to the build folder. While running grunt in prod mode, we run the builder and then a copy task that copies the images from the build folder to a tmp folder. The issue here is symlink doesn't always create all the symlinks or the copy task runs even before the symlinks are created because some images go missing in the final build. Has anyone faced this issue before?
We have cloned the builder2.js and modified it as per our needs. One of the tasks the builder2 performs is creating a symlink from the images folder to the build folder. While running grunt in prod mode, we run the builder and then a copy task that copies the images from the build folder to a tmp folder. The issue here is symlink doesn't always create all the symlinks or the copy task runs even before the symlinks are created because some images go missing in the final build. Has anyone faced this issue before?