welldone-software / gulp-durandal

Gulp plugin for building durandaljs projects
MIT License
13 stars 19 forks source link

Built file gets included in next run if output to app directory #7

Closed DonaldMackay closed 9 years ago

DonaldMackay commented 10 years ago

Using the default option from the example. When the output is set to the same directory, the output file will be included in the next run of the task, duplicating the code each time. Need to exclude the output file or delete the output file.

JamesReate commented 10 years ago

You should always use a different output filename or output folder. I prefer using a different output dir ie. app-gulped, that way my deployment script is very easy, just exlude the App folder from deploy and include the app-gulped