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

Nodeclipse issue #189 - workaround for node issue 25266 #193

Merged
merged 1 commit into from
Jul 13, 2015

Conversation

swingfield
Copy link
Contributor

Pull request that addresses Nodeclipse issue #189.

This is a workaround for node issue nodejs/node-v0.x-archive#25358, where node seems to be generating 'compileError' events instead of 'afterCompile' events. This causes Nodeclipse to miss the chance to process new scripts as they are pulled into a running application, as Nodeclipse is listening for the afterCompile events.

As discussed in Nodeclipse issue #189, if this does in fact turn out to be a node issue, then presumably this workaround would be version-specific, and would only need to be activated for certain versions of node.

…g 'compileError' events instead of 'afterCompile' events, which causes nodeclipse to miss the chance to process new scripts as they are pulled into a running application
@paulvi paulvi changed the title Nodeclipse issue 189 - workaround for node issue 25266 Nodeclipse issue #189 - workaround for node issue 25266 Jul 13, 2015
@paulvi
Copy link
Member

paulvi commented Jul 13, 2015

That makes it very clear what is to be changed. Next thing would be make a preference for that.

Short:
Treat compileError as afterCompile (nodejs/node-v0.x-archive#25358)

Description:
Treat the "compileError" event as the "afterCompile" event (for Node v0.11.14..0.12.2, nodejs/node-v0.x-archive#25358)

Do you think short string would be enough?

paulvi pushed a commit that referenced this pull request Jul 13, 2015
Nodeclipse issue #189 - workaround for node issue 25266
@paulvi paulvi merged commit ed887a3 into Nodeclipse:master Jul 13, 2015
@swingfield
Copy link
Contributor Author

I think i'd go with something like "Treat Node Debugger compileError event as afterCompile (joyent/node#25266). The reasoning because...

  • Shorter is a better fit for display in UI
  • We don't know what version of Node this will be fixed in yet

Also, I would use joyent/node#25266 instead of joyent/node#23538. I think joyent/node#25266 matches more closely to what we experienced in this situation.

@paulvi
Copy link
Member

paulvi commented Jul 14, 2015

workaround for node issue 25266

@swingfield
Is nodejs/node-v0.x-archive#25266 the same as nodejs/node-v0.x-archive#25358 ?

@swingfield
Copy link
Contributor Author

I'm not familiar with node issue 25358. But reading it, I do see that someone has linked that issue with node issue 25266, so maybe they are related in some way. But I think 25266 more clearly states the root of the problem that we are addressing in this Nodeclipse issue.

@paulvi
Copy link
Member

paulvi commented Jul 14, 2015

OK, as I said now it is my turn to come out with preference checkbox

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.

2 participants