Open svor opened 5 years ago
Works for me.
Here are a few remarks on the steps you provided:
file-watcher
, not file_watcher.theia
.node_modules
was missing so I had to build it first. I ran yarn
."skipLibCheck": true
to the tsconfig.json
.master
, it is mandatory to add the activationEvents
to the package.json
.:
"activationEvents": [
"*"
]
After doing this, starting Theia and cloning the suggested repository, I could see the followings in Output
> logs
:
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/.git
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/.git/hooks/commit-msg.sample
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/.git/hooks/pre-rebase.sample
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/.git/hooks/pre-commit.sample
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/.git/hooks/applypatch-msg.sample
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/.git/hooks/fsmonitor-watchman.sample
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/.git/hooks/pre-receive.sample
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/.git/hooks/prepare-commit-msg.sample
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/.git/hooks/post-update.sample
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/.git/hooks/pre-applypatch.sample
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/.git/hooks/pre-push.sample
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/.git/hooks/update.sample
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/.circleci
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/.circleci/config.yml
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/.dockerignore
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/.gitignore
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/Conduit.sln
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/build.cake
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/docker-compose.yml
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/logo.png
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/readme.md
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Conduit.csproj
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Domain/Article.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Domain/ArticleFavorite.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Domain/ArticleTag.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Domain/Comment.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Domain/FollowedPeople.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Domain/Person.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Domain/Tag.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Articles/ArticleEnvelope.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Articles/ArticleExtensions.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Articles/ArticlesController.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Articles/ArticlesEnvelope.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Articles/Create.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Articles/Delete.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Articles/Details.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Articles/Edit.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Articles/List.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Comments/CommentEnvelope.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Comments/CommentsController.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Comments/CommentsEnvelope.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Comments/Create.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Comments/Delete.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Comments/List.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Favorites/Add.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Favorites/Delete.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Favorites/FavoritesController.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Followers/Add.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Followers/Delete.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Followers/FollowersController.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Profiles/Details.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Profiles/IProfileReader.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Profiles/MappingProfile.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Profiles/Profile.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Profiles/ProfileEnvelope.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Profiles/ProfileReader.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Profiles/ProfilesController.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Tags/List.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Tags/TagsController.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Tags/TagsEnvelope.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Users/Create.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Users/Details.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Users/Edit.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Users/Login.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Users/MappingProfile.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Users/User.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Users/UserController.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Features/Users/UsersController.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/ConduitContext.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/CurrentUserAccessor.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/DBContextTransactionPipelineBehavior.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/Errors/Constants.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/Errors/ErrorHandlingMiddleware.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/Errors/RestException.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/GroupByApiRootConvention.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/ICurrentUserAccessor.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/Security/IJwtTokenGenerator.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/Security/IPasswordHasher.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/Security/JwtIssuerOptions.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/Security/JwtTokenGenerator.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/Security/PasswordHasher.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/Slug.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/ValidationPipelineBehavior.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/ValidatorActionFilter.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Program.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Properties/launchSettings.json
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Resources/Infrastructure.Errors.ErrorHandlingMiddleware.Designer.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Resources/Infrastructure.Errors.ErrorHandlingMiddleware.resx
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/Startup.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/src/Conduit/StartupExtensions.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/Conduit.IntegrationTests.csproj
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/Features/Articles/ArticleHelpers.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/Features/Articles/CreateTests.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/Features/Articles/DeleteTests.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/Features/Articles/EditTests.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/Features/Comments/CommentHelpers.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/Features/Users/CreateTests.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/Features/Users/LoginTests.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/Features/Users/UserHelpers.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/SliceFixture.cs
*********File created: file:///Users/akos.kitta/Desktop/tmp-theia/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/StubCurrentUserAccessor.cs
I am going to close this as INVALID. Feel free to reopen.
@kittaakos thanks, I'll double check it on my side
@kittaakos It is still reproducible for me:
Here is the video: https://youtu.be/dnAQY1-cyN4
My OS is Fedora28 (5.0.9-100.fc28.x86_64) . I've tested this use case on another Linux machine and got the same result. Also I tried it on Mac and I couldn't reproduce this problem, on Mac the watcher works as expected.
@kittaakos on which OS did you test it ?
I've tested this use case on another Linux machine and got the same result.
@svor, I have updated the title and labels, feel free to edit.
I've just updated the description:
file-watcher
plugin by adding activationEvents
Appearently, this is caused by https://github.com/Axosoft/nsfw/issues/60
Description
I've created new FileSystemWatcher in the next way:
Where
'**/*.*'
means that I want to catch all files.The problem is that this file watcher, which should catch all created files, skips some events during cloning the project.
Reproduction Steps
file-watcher/file_watcher.theia
intotheia/plugins
folder and run theiapath_to_workspace/aspnetcore-realworld-example-app/src/Conduit/Conduit.csproj
was cloned but there is no log about it in output view.OS and Theia version:
OS: Fedora28 (5.0.9-100.fc28.x86_64) Theia: @theia/example-browser 0.8.0