thanethomson / httpwatcher

Python-based HTTP server for static files with live reload
MIT License
20 stars 10 forks source link

ValueError: HttpWatcherStaticScriptHandler expects an absolute filesystem path for the httpwatcher.min.js script file #4

Open fahadahammed opened 4 years ago

fahadahammed commented 4 years ago

This error shows when I use the executable from pyinstaller with --onefile.

Traceback (most recent call last):
  File "tornado/http1connection.py", line 238, in _read_message
  File "tornado/routing.py", line 251, in finish
  File "tornado/web.py", line 2097, in finish
  File "tornado/web.py", line 2117, in execute
  File "tornado/web.py", line 192, in __init__
  File "httpwatcher/server.py", line 340, in initialize
ValueError: HttpWatcherStaticScriptHandler expects an absolute filesystem path for the httpwatcher.min.js script file