Daemon does not automatically restart when dynamic routes are first added and synced
When a Site.js daemon gets a sync update that includes a
.dynamic folder for the first time, the change does not register and the server does not automatically restart as it should, requiring a manual restart as a workaround.
- Create a new Small Web site (e.g., test.small-web.org).
- Hit the site to see the default static welcome message.
- Sync the
simple-chatexample to it.
- Hit the site again and notice that the interface loads but the connection status reads Offline (as the dynamic WebSocket back-end cannot be reached).
What should happen
The Site.js daemon should automatically restart the server when dynamic functionality is first synced (just as it does when static and dynamic content changes via a sync).
What actually happens
The Site.js daemon does not restart.
sshinto to the server and run
- Refresh the site again and notice that it now works.