Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhunter committed Oct 9, 2014
1 parent 036f80b commit 28c739e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -94,6 +94,8 @@ grunt.initConfig({
## Windows users
*Note: Pull request [#5](https://github.com/johnhunter/grunt-teamcity/pull/5) from [akselsson](https://github.com/akselsson) resolves this issue.*
Teamcity on windows does not flush the stdout stream before exiting the grunt node process. There has been some work around this in both nodejs and grunt, but it is by no means resolved. If you see missing output in your Teamcity build log then try running the grunt task using the the solution [documented here on StackOverflow](http://stackoverflow.com/questions/23841999/grunt-run-by-teamcity-does-not-properly-output-to-log)
Seems that by redirecting to a file the output is synchronous, whereas with pipe (or TC plugin execute method) the output is async and not captured before the node process exits. The bat file captures the exit code from grunt and passes it onto Teamcity.
Expand Down

0 comments on commit 28c739e

Please sign in to comment.