gruntjs / gruntjs/grunt

Initial current working directory

Open
#1,652 6 comments 0 reactions 0 assignees View on GitHub
needs discussion Type: Enhancement
Dominant language
JavaScript
Stars
12.2k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Because the cwd needs to be set where the grunt file is located. Is there a way to get the Initial current working directory? In Gulp they have the process.env.INIT_CWD.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how Grunt determines and exposes the current working directory, using the issue's comparison with Gulp's process.env.INIT_CWD as context. Done means providing a documented way for tasks to access the initial working directory; no file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.