markfinger / python-react

Server-side rendering of React components
MIT License
1.62k stars 116 forks source link

Bundle config files caches are cleared when a process restarts #32

Closed markfinger closed 9 years ago

markfinger commented 9 years ago

The full path of a generated config file depends on the python process's tempfile module. Unfortunately, these generated files get new paths when the process restarts and hence a server restart will cause a new build to start, even if the node server stays up.

Might need to use a more deterministic way to generate paths, or hand it off to something in the node server.