mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Live compile coffeescript when running viewer in debug mode
This commit is contained in:
parent
ef39b9b584
commit
daa788e41c
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user