klei / gulp-angular-filesort

Automatically sort AngularJS app files depending on module definitions and usage
MIT License
132 stars 46 forks source link

Fixes klei/gulp-angular-filesort#17 #18

Closed max-mathieu closed 9 years ago

max-mathieu commented 9 years ago

It looks the issue is not really with toposort. With the same input, I always get the same order back. Though, gulp.src can send files in different orders, so sorting the files before toposort does the trick Also, fixed some minor typos :)

max-mathieu commented 9 years ago

On a different test sets, the trick did not work at all, and actually makes it worse :( Will try to find another way