Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watcher error #40

Open
TuralAsgar opened this issue Sep 19, 2017 · 2 comments
Open

watcher error #40

TuralAsgar opened this issue Sep 19, 2017 · 2 comments

Comments

@TuralAsgar
Copy link
Contributor

I am using PHPStorm. I open watcher in another git shell. After making first change to the file it displays

Parsing...
Generating...
Executing goimports...
Executing go vet...
Parsing...
2017/09/19 16:30:26 open F:\gocode\src\github.com\tural-esger\engossip\template_layout.html: The process cannot access the file because it is being used by another process.

or it displays

Parsing...
Generating...
Executing goimports...
Executing go vet...
Parsing...
2017/09/19 16:32:02 CreateFile F:\gocode\src\github.com\tural-esger\engossip\template_layout.html: The system cannot find the file specified.

shiyanhui added a commit that referenced this issue Sep 20, 2017
shiyanhui added a commit that referenced this issue Sep 20, 2017
@shiyanhui
Copy link
Owner

This issue is caused by not filtering file's extension. Please update hero and test again. Thanks :)

@TuralAsgar
Copy link
Contributor Author

TuralAsgar commented Sep 20, 2017

And now after updating, first I get
$ hero -watch
Parsing...
Generating...
Executing goimports...
Executing go vet...
Parsing...
2017/09/20 14:29:54 CreateFile F:\gocode\src\github.com\tural-esger\engossip\template_layout.html___jb_old___: The system cannot find the file specified.

after I try again
$ hero -watch
Parsing...
Generating...
Executing goimports...
Executing go vet...
Parsing...
2017/09/20 14:31:52 dependency F:\gocode\src\github.com\tural-esger\engossip\template_layout.html not parsed

Also when I tried with navbar.html first I got
$ hero -watch
Parsing...
Generating...
Executing goimports...
Executing go vet...
Parsing...
2017/09/20 14:33:14 CreateFile F:\gocode\src\github.com\tural-esger\engossip\template_navbar.html___jb_tmp
__: The system cannot find the file specified.

Then I got
$ hero -watch
Parsing...
Generating...
Executing goimports...
Executing go vet...
Parsing...
2017/09/20 14:36:02 CreateFile F:\gocode\src\github.com\tural-esger\engossip\template_navbar.html___jb_old___: The system cannot find the file specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants