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

add support for arbitrary node-flags #680

Merged
merged 1 commit into from
Sep 13, 2014
Merged

add support for arbitrary node-flags #680

merged 1 commit into from
Sep 13, 2014

Conversation

tkellen
Copy link

@tkellen tkellen commented Sep 12, 2014

You can test this by running node 0.11 and using --harmony to run a gulpfile that uses generators.

@yocontra
Copy link
Member

failed the linter btw

@tkellen
Copy link
Author

tkellen commented Sep 12, 2014

fixed.

cli.on('respawn', function (flags, child) {
var nodeFlags = chalk.magenta(flags.join(', '));
var pid = chalk.magenta(child.pid);
gutil.log('Node flags detected:', nodeFlags);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this logging really needed? can't it be totally transparent?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. I suppose it isn't strictly needed. Perhaps it could be behind a verbosity flag? You do similar (arguably unnecessary) logging now, like informing the user when an external module is required, or that the cwd is changing. I'm not deeply invested either way.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should have it, what is the harm in being a little verbose when we already are really verbose? It gets hidden by the --silent flag already.

yocontra pushed a commit that referenced this pull request Sep 13, 2014
add support for arbitrary node-flags
@yocontra yocontra merged commit 75b0d59 into gulpjs:master Sep 13, 2014
@jednano jednano mentioned this pull request Nov 17, 2014
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