Live compile coffeescript when running viewer in debug mode

This commit is contained in:
Kovid Goyal 2014-09-21 21:21:56 +05:30
parent ef39b9b584
commit daa788e41c

View File

@ -219,7 +219,7 @@ def main(args=sys.argv):
run_debug_gui(opts.gui_debug)
elif opts.viewer:
from calibre.gui2.viewer.main import main
main(['ebook-viewer'] + args[1:])
main(['ebook-viewer', '--debug-javascript'] + args[1:])
elif opts.py_console:
from calibre.utils.pyconsole.main import main
main()