ChrisWren / grunt-link-checker

Run node-simple-crawler to discover broken links on your website
MIT License
33 stars 9 forks source link

Make `localhost` and `9001` the defaults. #20

Closed XhmikosR closed 9 years ago

XhmikosR commented 9 years ago

/CC @ChrisWren: since the issue with 0.12 is fixed, can you check the remaining PRs and merge and then make a new version?

ChrisWren commented 9 years ago

Why should localhost and 9001 be the defaults?

XhmikosR commented 9 years ago

No specific reason for these defaults; but there should be either an error message if those aren't specified or default values...

ChrisWren commented 9 years ago

Port is not required. Maybe we should have an error if no site specified though.

XhmikosR commented 9 years ago
Running "connect:server" (connect) task
Started connect web server on http://localhost:9001

Running "linkChecker:all" (linkChecker) task
>> Checking for broken links at: localhost
>> Error fetching `site` URL: http://localhost/
Warning: Task "linkChecker:all" failed. Use --force to continue.

It's your call.