Currently jit-grunt first checks for grunt-contrib-package and then for grunt-package in the node_modules directory. I have a branch in my project switching from grunt-contrib-sass to grunt-sass. When I switch between branches I don't want or need to delete the other version as normally it's not loaded/used etc. However, jit-grunt first checks for grunt-contrib-sass, executes it & breaks because my config on this branch is targeted at grunt-sass.
jit-grunt should first check packages declared in package.json and only if no matching ones are found it should fall back to checking all packages present in node_modules.
Currently jit-grunt first checks for
grunt-contrib-packageand then forgrunt-packagein thenode_modulesdirectory. I have a branch in my project switching fromgrunt-contrib-sasstogrunt-sass. When I switch between branches I don't want or need to delete the other version as normally it's not loaded/used etc. However, jit-grunt first checks forgrunt-contrib-sass, executes it & breaks because my config on this branch is targeted atgrunt-sass.jit-gruntshould first check packages declared in package.json and only if no matching ones are found it should fall back to checking all packages present innode_modules.