jcoreio / crater

Meteor/Webpack/React SSR app skeleton that runs your app code outside of Meteor Isobuild
ISC License
82 stars 10 forks source link

Meteor server log #82

Closed ouya99 closed 7 years ago

ouya99 commented 7 years ago

How can i see server logs (e.g. console.log from server.js) ?

Thanks java99

jedwards1211 commented 7 years ago

@java99 are they not showing up in the console? They should, if not, it's a bug

ouya99 commented 7 years ago

no

i run "npm start" and wait for console logs.

btw: What can I do to update over my server files like (src/server/server.js) ?

jedwards1211 commented 7 years ago

oh you mean nothing shows in the console?

btw: What can I do to update over my server files like (src/server/server.js) ?

I'm not sure I understand, do you mean how can you pull updates from this repo while preserving your own code? You can git pull origin master (assuming origin points to this repo). It can be a bit awkward though, there will likely be conflicts if you've made your own changes, and the best you can do is fix the conflicts by hand.

ouya99 commented 7 years ago

i added import './server.js' to my src/server/index.js . Now its updating in there.

having more issues now :) - will check whether console.log is showing in terminal.

ouya99 commented 7 years ago

console.log("STARTUP");


  build [===========         ] 54%STARTUP
App is listening on http://0.0.0.0:3000
Build completed in 12.344s

webpack built 2387713e4f77d36e63e8 in 12721ms

working. thanks!