Feature #1205
Add Build System to Handle Both Server & Client
Status: | In Progress | Start date: | 10/20/2017 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Pavan Rikhi | % Done: | 0% | |
Category: | General | Spent time: | 9.37 hours | |
Target version: | v2.0.0 - Post-Migration Issues | |||
Easy Pickings: |
Description
Running something like `./build.hs` would be cool.
Use shake to run commands & fsnotify to watch files.
On start, fork the webpack dev server in a new thread, build the server & run it.
When a haskell file changes, kill the server, rebuild & re-launch the server.
On Ctrl-C, shutdown the server, kill webpack & exit w/ success.
Associated revisions
[#1205] Replace Server Makefile with Custom Build Script
Add a `manage.hs` file to the root directory of the project to handle
builds for both the client & server.
The default or `watch` command will install node, setup stack, run the
webpack dev server, & build/start/watch/restart the API server.
Additional commands exist for cleaning the built files, building
production files, & starting REPLs.
Refs #1205
History
#1 Updated by Pavan Rikhi over 4 years ago
- Start date set to 10/20/2017
- Target version changed from v2.0.0 - Post-Migration Issues to v0.6.0 - Checkout
- Status changed from New to In Progress
#2 Updated by Pavan Rikhi over 4 years ago
- Target version changed from v0.6.0 - Checkout to v2.0.0 - Post-Migration Issues
#3 Updated by Pavan Rikhi over 4 years ago
Most done, couple TODOs left at top of file for nicer watching.