Skip to content

Enhancement: Ability to set a working directory #37

@swick7

Description

@swick7

Great job integrating NodeJS into eclipse! The look and feel is seamless.

Would it be possible for you to add a “Working Directory” option to the Run Configuration dialog for Node Applications?

Here’s my situation:

I’m using NodeJS to optimize the javascript for our website with RequireJS.

I have:
C:\users\swick4\programs\node\node.exe
C:\TFS\MyProject\Branches\1.2.0\FrontEnd\Presentation Layer\assets\scripts\libs\r.js
C:\TFS\MyProject\Branches\1.2.0\FrontEnd\Presentation Layer\assets\app.build.js

For this to work, node.exe has to be run from the folder C:\TFS\MyProject\Branches\1.2.0\FrontEnd\Presentation Layer\assets

From DOS I have to execute the command:
C:\TFS\MyProject\Branches\1.2.0\FrontEnd\Presentation Layer\assets> C:\users\swick4\programs\node\node.exe scripts\libs\r.js -o app.build.js

Right now there is no way to tell the Run Configuration for a Node Application to execute node.exe from a specific working directory.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions