Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

console.log no longer emits from app/server.js compile #305

Closed
arxpoetica opened this issue Jul 2, 2018 · 3 comments
Closed

console.log no longer emits from app/server.js compile #305

arxpoetica opened this issue Jul 2, 2018 · 3 comments

Comments

@arxpoetica
Copy link
Member

On latest sapper upgrade, I can no longer console.log(...) from the app/server.js file.

The breaking change appears to be between sapper v0.13.3 and v0.13.4 (works in .3, but not .4).

@arxpoetica
Copy link
Member Author

Small stab in the dark, but this might be the breaking change: 0800fa0

@arxpoetica
Copy link
Member Author

A little more info, it appears to be a timing issue. If I wrap console.log in a setTimout call, stuff starts showing up...

setTimeout(() => console.log('yolo!'), 100)

@shijiezhou1
Copy link

I'm having this issue these day my sapper just no longer console.log on any js file

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants