question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`watch` command not working

See original GitHub issue

So I tried to use the watch command and it immediately crashes with following error:

Traceback (most recent call last):
  File "/Users/max/Envs/staticjinja/bin/staticjinja", line 11, in <module>
    sys.exit(main())
  File "/Users/max/Envs/staticjinja/lib/python3.4/site-packages/staticjinja/cli.py", line 66, in main
    site.render(use_reloader=use_reloader)
  File "/Users/max/Envs/staticjinja/lib/python3.4/site-packages/staticjinja/staticjinja.py", line 296, in render
    Reloader(self).watch()
  File "/Users/max/Envs/staticjinja/lib/python3.4/site-packages/staticjinja/reloader.py", line 52, in watch
    import easywatch
  File "/Users/max/Envs/staticjinja/lib/python3.4/site-packages/easywatch/__init__.py", line 1, in <module>
    from easywatch import watch
ImportError: cannot import name 'watch'

I’m using a clean virtualenv with just staticjinja installed

I hope you can help me

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:19 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
SanketDGcommented, Aug 3, 2017

@Ceasar this is still not done, just reminding you

1reaction
ram0973commented, Nov 17, 2016

PLEASE in init.py DO: from easywatch.easywatch import watch OR from .easywatch import watch

Read more comments on GitHub >

github_iconTop Results From Across the Web

Watch command does not work anymore - Ask Ubuntu
1 Answer 1 · Rename the local watch ( /usr/local/bin ) as something else, given renaming won't create any problem · Edit your...
Read more >
OS X Bash, 'watch' command - macos - Stack Overflow
The watch command that's available on Linux does not exist on macOS. If you don't want to ...
Read more >
Install Watch Command on Mac OS X - OSXDaily
For Homebrew, install the watch command with: · For MacPorts, you can install watch with: · Download the precompiled “watch” command from Terminal ......
Read more >
`watch` command doesn't work properly · Issue #8869 - GitHub
Steps to reproduce. Run watch command. Expected behavior. Should look like the powershell output in the image (1) below. Actual behavior.
Read more >
[SOLVED] watch: command not found / Newbie Corner / Arch ...
Here is something I've never encountered before, the watch command cannot be found, this is a relatively new installation and I must have ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found