PEM-- / meteor-helper

Meteor.js under Atom.io
http://pem-musing.blogspot.fr/2014/07/meteorjs-from-within-atomio-full-stack.html
MIT License
50 stars 9 forks source link

settings.json not found #53

Open PolGuixe opened 8 years ago

PolGuixe commented 8 years ago

My project structure is something like this:

Project
   |---app
   |      |---//meteor project
   |
   |---deployments
   |      |---test
   |      |      |---mup.json
   |      |      |---settings.json
   |      |---production
   |      |      |---mup.json
   |      |      |---settings.json

On the Atom settings the Meteor Path App is just app, and Settings Path is deployments/test/, however it is not able to find the settings.json file.

PEM-- commented 8 years ago

Sounds good to me: https://github.com/PEM--/meteor-helper/blob/master/lib/meteor-helper-view.coffee#L174

Try to set your path with the filename deployments/test/settings.json. You should be good to go.

PEM-- commented 8 years ago

Dawn! You're right. I'm reproducing it too. Seems like meteor's command has changed its behavior. I only succeed into using absolute path.

PolGuixe commented 8 years ago

I can confirm that the absolute path works.