Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better handling of the user environment #20

Merged
merged 1 commit into from
Oct 3, 2013

Conversation

FredrikAppelros
Copy link
Contributor

A backup of the user environment is now taken during a call to start instead of during the launch of the task. This allows for changing the user environment when the express server is run using nospawn (as with grunt-contrib-watch).

With this fix it is now possible to change the environment with grunt-env before launching an express server with grunt-contrib-watch.

A backup of the user environment is now taken during a call to start
instead of during the launch of the task. This allows for changing the
user environment when the express server is run using nospawn (as with
grunt-contrib-watch).
@FredrikAppelros
Copy link
Contributor Author

I didn't update the version in package.json but it would be great if you could do that so that the new version will be available on npm.

@matogertel
Copy link

Was looking at exactly the same problem now! Was doing my head! Thank you for the fix, I'll use your branch until the official package is updated.

ericclemmons added a commit that referenced this pull request Oct 3, 2013
Better handling of the user environment
@ericclemmons ericclemmons merged commit 0e9c078 into ericclemmons:master Oct 3, 2013
@ericclemmons
Copy link
Owner

Just published v0.4.2 for you guys!

@FredrikAppelros
Copy link
Contributor Author

I believe the last version was 0.4.3 so shouldn't the new one be 0.4.4? It doesn't seem to have been updated over at npm.

@ericclemmons
Copy link
Owner

WHOOPS! I updated the wrong repo! :D (grunt-angular-templates)

@ericclemmons
Copy link
Owner

l ~ ⮁ Sites ⮁ ericclemmons ⮁ grunt-express-server ⮀ master ⮀ $ ⮀npm publish
npm http PUT https://registry.npmjs.org/grunt-express-server
npm http 409 https://registry.npmjs.org/grunt-express-server
npm http GET https://registry.npmjs.org/grunt-express-server
npm http 200 https://registry.npmjs.org/grunt-express-server
npm http PUT https://registry.npmjs.org/grunt-express-server/-/grunt-express-server-0.4.4.tgz/-rev/15-119d2f1381ca2550c18e491510bf539d
npm http 201 https://registry.npmjs.org/grunt-express-server/-/grunt-express-server-0.4.4.tgz/-rev/15-119d2f1381ca2550c18e491510bf539d
npm http PUT https://registry.npmjs.org/grunt-express-server/0.4.4/-tag/latest
npm http 201 https://registry.npmjs.org/grunt-express-server/0.4.4/-tag/latest
+ grunt-express-server@0.4.4

@FredrikAppelros
Copy link
Contributor Author

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants