revolunet / sublimetext-markdown-preview

markdown preview and build plugin for sublime text 2/3
MIT License
2.31k stars 362 forks source link

browser preview failure when can't find livereload port #191

Closed tjmcewan closed 10 years ago

tjmcewan commented 10 years ago

Hi, I suddenly couldn't preview in browser anymore (either GFM or Python). I found it was an issue with looking for the port in LiveReload settings. Not sure how my settings got canned.

File "MarkdownPreview in ~/Library/Application Support/Sublime Text 3/Installed Packages/Markdown Preview.sublime-package", line 437, in run TypeError: %d format: a number is required, not NoneType

Would you like a PR that displays an informative message when the LR port can't be found or falls back to the default or something?

Cheers.

revolunet commented 10 years ago

hey thanks for the report. yes a message would be great but also a default port if not found ! thanks

revolunet commented 10 years ago

i just issued a hotfix

tjmcewan commented 10 years ago

Thanks!

fixed by 015ea6cd