Skip to content

3.14 Issue with ntk watch #25

@alexphelps

Description

@alexphelps

Issue with 3.14 and ntk watch

2026-03-04 16:23:35 INFO [development] Current store https://STORE.29next.store/
2026-03-04 16:23:35 INFO [development] Current theme id 1
2026-03-04 16:23:35 INFO [development] Preview theme URL [https://STORE.29next.store?preview_theme=1](https://STORE.29next.store/?preview_theme=1)
2026-03-04 16:23:35 INFO [development] Watching for file changes in /Users/USER/Developer/Themes/THEME
2026-03-04 16:23:35 INFO [development] Press Ctrl + C to stop
Traceback (most recent call last):
 File "/Users/USER/.local/bin/ntk", line 6, in <module>
  sys.exit(main())
       ~~~~^^
 File "/Users/USER/.local/pipx/venvs/next-theme-kit/lib/python3.14/site-packages/ntk/__main__.py", line 19, in main
  args.func(args)
  ~~~~~~~~~^^^^^^
 File "/Users/USER/.local/pipx/venvs/next-theme-kit/lib/python3.14/site-packages/ntk/decorator.py", line 24, in _wrapper
  func(self, parser, **func_kwargs)
  ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/Users/USER/.local/pipx/venvs/next-theme-kit/lib/python3.14/site-packages/ntk/command.py", line 201, in watch
  loop = asyncio.get_event_loop()
 File "/opt/homebrew/Cellar/python@3.14/3.14.3_1/Frameworks/Python.framework/Versions/3.14/lib/python3.14/asyncio/events.py", line 715, in get_event_loop
  raise RuntimeError('There is no current event loop in thread %r.'
            % threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions