Skip to content

Loading…

Find the Gruntfile by crawling up folders #42

Open
tvooo opened this Issue · 7 comments

7 participants

@tvooo
Owner

Feature request for sublime grunt: find the first gruntfile for the currently open file by crawling up parent directories.
-- https://twitter.com/AaronHarun

@zakdances

This would be great. It's pretty unrealistic to expect every file open in your project to be in the same directory as the Gruntfile...

@bitmatix

+1

@lefoy

+1

@jjwill

+1 (or even have it in the settings)

@lefoy

I think a config file for each project would be a better option because the Gruntfile is not necessarily in the same folder for every project. Like discussed in #56, it could be a sublime-grunt.config file at the project root with the path to the current Gruntfile.

@dominik0711

As lefoy already mentioned it would be nice to be able to configure the location of the Gruntfile.js in sublime-grunt.config file at project level.

@gerbenvandijk

I think a much better place for this variable is in the .sublime-project file - then all project specific settings are stored in the same location. :+1: for both ideas though, as they solve the same problem (the rest is semantics).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.