Better handling of the user environment #20

Merged
merged 1 commit into from Oct 3, 2013

Conversation

Projects
None yet
3 participants
Contributor

FredrikAppelros commented Sep 27, 2013

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.

@FredrikAppelros FredrikAppelros Better handling of the user environment
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).
bfe4f19
Contributor

FredrikAppelros commented Sep 27, 2013

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.

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 ericclemmons added a commit that referenced this pull request Oct 3, 2013

@ericclemmons ericclemmons Merge pull request #20 from FredrikAppelros/master
Better handling of the user environment
0e9c078

@ericclemmons ericclemmons merged commit 0e9c078 into ericclemmons:master Oct 3, 2013

1 check passed

default The Travis CI build passed
Details
Owner

ericclemmons commented Oct 3, 2013

Just published v0.4.2 for you guys!

Contributor

FredrikAppelros commented Oct 3, 2013

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.

Owner

ericclemmons commented Oct 3, 2013

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

Owner

ericclemmons commented Oct 3, 2013

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
Contributor

FredrikAppelros commented Oct 3, 2013

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment