For installing it:
npm i -g source-map-explorer
And for using it while developing your apps:
source-map-explorer .meteor/local/build/programs/web.browser/app/app.js{,.map}
Thanks to "Totally tooling tips":
npm i -g source-map-explorer
source-map-explorer .meteor/local/build/programs/web.browser/app/app.js{,.map}
/Library/LaunchDaemons/limit.maxfiles.plist
with the following content and reboot:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>limit.maxfiles</string> <key>ProgramArguments</key> <array> <string>launchctl</string> <string>limit</string> <string>maxfiles</string> <string>524288</string> <string>524288</string> </array> <key>RunAtLoad</key> <true/> <key>ServiceIPC</key> <false/> </dict> </plist>
$ ulimit -n 524288
import { Meteor } from 'meteor/meteor'; import Future from 'fibers/future'; import Todo from '../Todo'; Meteor.publish('todo.public', function() { const future = new Future(); Meteor.setTimeout(() => future.return(Todo.find()), 5000); return future.wait(); });