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

Startup file not preserved after being moved to another directory #5

Closed
toly-k opened this issue Mar 30, 2015 · 1 comment
Closed

Comments

@toly-k
Copy link

toly-k commented Mar 30, 2015

New Blank Node.js Console Application works fine.

However if I move app.js into a 'src' folder and update package.json "main": "./src/app.js" then I can no longer start the app:
No startup file is defined for the startup project

@mousetraps
Copy link
Contributor

Yeah, we should fix the whole not-preserving-the-startup-file-value if you move it issue.

As far as what you can do now... if you right click "app.js", you'll be able to set it as a startup file. The reason we do this instead of reading the value from package.json is to enable people to easily switch the file they are starting up with. We should definitely edit this message to be more useful, though. (see #6)

I also just filed a feature request to consider choosing the file defined in package.json as the default startup file (see #7).

@mousetraps mousetraps changed the title Startup file in a subdirectory Startup file not preserved after being moved to another directory Mar 30, 2015
@mousetraps mousetraps added the bug label Mar 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants