Add a CLI command like posty serve to fire up a HTTP web server to display the contents of the build output. Can likely use Python's built-in SimpleHTTPServer for this.
Needs to fiddle with site config to modify base URL to be the URL that the server is listening on, e.g. http://localhost:5000/.
Bonus points for running build and refreshing the page on a file change.
Add a CLI command like
posty serveto fire up a HTTP web server to display the contents of the build output. Can likely use Python's built-in SimpleHTTPServer for this.Needs to fiddle with site config to modify base URL to be the URL that the server is listening on, e.g.
http://localhost:5000/.Bonus points for running build and refreshing the page on a file change.