be1ee22032
Proper integration of live reload with automatic injection
2014-05-16 17:49:27 -04:00
60ed5bda2b
Live reloading is working! Still need to incorporate cleanly.
2014-05-16 11:48:59 -04:00
296d218e67
Better handling of when the specified port is already in use
2014-05-15 17:41:03 -04:00
0053be979a
Correctly print server URL when base-url is specified in the command line
...
When running hugo server like:
$ hugo server -s docs -b myhostname
the printed output now directs to http://myhostname:1313 instead of
(invariably) http://localhost:1313 .
As per server(), BaseUrl is never empty, and the required value is always
found in Viper.
2014-05-09 23:27:21 -04:00
62dd1d45c1
Hugo config abstracted into a general purpose config library called "Viper".
...
Hugo casting now in own library called "cast"
2014-04-05 01:40:33 -04:00
e50b9d8ac1
Adding support for logging & verbose logging. Consolidation of error handling. Integration of jWalterWeatherman library. Fixed #137
2014-03-31 13:23:34 -04:00
6dd2e9a49a
gofmt all go code
2014-01-29 18:03:35 -05:00
ff9f6e1b2a
Fix panic with HTTP serve initialization problems.
2014-01-28 23:44:43 -05:00
5550c4148e
Added append-port flag
2013-12-28 22:01:36 -05:00
e5aa08ff0c
If baseurl is set then print that on the command line, else leave as default of localhost
...
Conflicts:
commands/server.go
2013-12-28 14:02:10 -05:00
1abc2f0b86
properly use non-localhost BaseUrl in server command
2013-12-16 17:39:59 -05:00
b580a25d1f
Better error handling when rendering error found when in watch mode
...
In watch mode it should continue to watch for changes, in any other mode it should exit with a -1 error code so can check for success when scripting
2013-10-25 18:03:14 -04:00
0318f7c149
Clean up server & build site logic. Fixed #94
2013-10-09 18:53:46 -04:00
e6ace71fec
server command now builds prior to serving
2013-10-09 18:24:40 -04:00
be7ba0e98f
server defaults to localhost unless overridden by command line flags
2013-10-04 16:03:13 -04:00
18f2b82658
Switching to the rjson library which is more friendly to human generated json.
2013-10-01 22:45:24 -04:00
3ae8dda203
Restoring build and watch functionality
2013-09-30 22:38:32 -04:00
94d7fe52f8
Change the interface to use commands and flags instead of just flags.
...
Better organization of main (controller style) code.
2013-09-29 02:10:29 -04:00