cpl_cli.live_server¶
cpl_cli.live_server.live_server_service module¶
-
class
cpl_cli.live_server.live_server_service.
LiveServerService
(env: cpl.environment.application_environment_abc.ApplicationEnvironmentABC, project_settings: cpl_cli.configuration.project_settings.ProjectSettings, build_settings: cpl_cli.configuration.build_settings.BuildSettings)¶ Bases:
watchdog.events.FileSystemEventHandler
-
on_modified
(event)¶ Triggers when source file is modified :param event: :return:
-
start
(args: list)¶ Starts the CPL live development server :param args: :return:
-
cpl_cli.live_server.live_server_thread module¶
-
class
cpl_cli.live_server.live_server_thread.
LiveServerThread
(executable: str, path: str, args: list, env: cpl.environment.application_environment_abc.ApplicationEnvironmentABC, build_settings: cpl_cli.configuration.build_settings.BuildSettings)¶ Bases:
threading.Thread
-
property
command
¶
-
property
main
¶
-
run
()¶ Starts the CPL project :return:
-
property