Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DUX-2458] Documentation for running a server #315

Open
9999years opened this issue Aug 14, 2024 · 1 comment
Open

[DUX-2458] Documentation for running a server #315

9999years opened this issue Aug 14, 2024 · 1 comment
Labels
linear Created by Linear-GitHub Sync

Comments

@9999years
Copy link
Member

9999years commented Aug 14, 2024

  1. Are there any new configuration options or commands to enable server mode?
  2. Is there documentation available on how to set up ghciwatch for running and auto-reloading a web server or similar application?
  3. Are there any best practices or examples you can share for using this new functionality?

See: #143 (comment)

Related: #226

From SyncLinear.com | DUX-2458

@github-actions github-actions bot added the linear Created by Linear-GitHub Sync label Aug 14, 2024
@9999years
Copy link
Member Author

  1. Not really
  2. You probably want something like --test-ghci DevelMain.update
  3. Running a command that writes to stdout asynchronously (like Yesod does, see Show output from test command ndmitchell/ghcid#298) might cause problems (ghciwatch works by parsing the GHCi stdout), so we really want to redirect logs to a file and have ghciwatch read them from there (see [DUX-2225] Read logs from file #226).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linear Created by Linear-GitHub Sync
Projects
None yet
Development

No branches or pull requests

1 participant