Using `macdown` to open existing file from shell results in empty window
Installed with homebrew brew cask install macdown which pulled v0.6. Mac OS X 10.11.3 El Capitan.
- If I double click a
.mdfile or open it with File > Open withinMacDown.appthen it works fine and loads the contents of the file. - If I open a file using
macdown filename.mdon a shell andMacDown.appis already running it works fine and loads the contents of the file. - If I open a file using
macdown filename.mdandMacDown.appisn't already running, it opens an empty window with the dot in the close box indicating there are unsaved edits. When I close the window without making any edits of my own, it asks me if I want to save the changes made tofilename.md.
Gonna just tag onto this issue and note that Macdown also crashes completely for me if I open a new file from the shell and go to save it.
This is completely annoying as I just lost a significant amount of work.
Seems that some tricks I used were broken by the latest OS X update. Thanks for reporting.
Meanwhile if you have the binary installed from the website, it'll check for updates and you can always do something like:
alias macdown='open -a MacDown.app'
for the CLI functionality you had with the brew install.
This seems to be a duplicate of #612 and should now be fixed in v0.6.2. Guys, would you like to confirm it?