testscripts/server/server__watch_false.txt
raw| 1 | # Test the hugo server command with watch disabled. |
| 2 | |
| 3 | hugo server --watch=false & |
| 4 | |
| 5 | waitServer |
| 6 | |
| 7 | httpget $HUGOTEST_BASEURL_0 'HOME' |
| 8 | httpget $HUGOTEST_BASEURL_0 'HOME' |
| 9 | |
| 10 | stopServer |
| 11 | ! stderr . |
| 12 | |
| 13 | -- hugo.toml -- |
| 14 | baseURL = 'https://example.org/' |
| 15 | disableKinds = ['page','rss','section','sitemap','taxonomy','term'] |
| 16 | -- layouts/home.html -- |
| 17 | HOME |