How can i read the public directory in a meteor application inside my /server path.
I tried using the native
var fs = Npm.require('fs');
var files = fs.readdirSync('/public/soundfiles/');
Access files without the "/public" part. In a running Meteor app, the public directory becomes your root, and everything that is located at /public/whatever can be accessed at /whatever.
Additionally, if you're playing around with files, you might find these useful: