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

extend a server api so that developers can call custom server plugins #470

Closed
1 of 5 tasks
hutchgrant opened this issue Feb 3, 2021 · 0 comments · Fixed by #471 or #478
Closed
1 of 5 tasks

extend a server api so that developers can call custom server plugins #470

hutchgrant opened this issue Feb 3, 2021 · 0 comments · Fixed by #471 or #478
Assignees
Labels
alpha.5 CLI documentation Greenwood specific docs enhancement Improve something existing (e.g. no docs, new APIs, etc) Plugins Greenwood Plugins v0.10.0
Milestone

Comments

@hutchgrant
Copy link
Member

hutchgrant commented Feb 3, 2021

Type of Change

  • New Feature Request
  • Documentation / Website
  • Improvement / Suggestion
  • Bug
  • Other (please clarify below)

Summary

Calling a server during the develop.js command would be handy for people who want to use say a database, graphql, or liverload/hmr during development.

Details

Add a ServerInterface for use with server plugins. The plugin "type: server" can be declared in the greenwood.config.js and then will be called during the develop.js command and potentially in production as well.

Move livereload into a seperate server plugin, for now as an example.

@thescientist13 thescientist13 added this to the MVP milestone Feb 3, 2021
@thescientist13 thescientist13 added the enhancement Improve something existing (e.g. no docs, new APIs, etc) label Feb 3, 2021
@thescientist13 thescientist13 linked a pull request Feb 3, 2021 that will close this issue
@thescientist13 thescientist13 added CLI documentation Greenwood specific docs labels Feb 3, 2021
@thescientist13 thescientist13 added the Plugins Greenwood Plugins label Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alpha.5 CLI documentation Greenwood specific docs enhancement Improve something existing (e.g. no docs, new APIs, etc) Plugins Greenwood Plugins v0.10.0
Projects
None yet
2 participants