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

[linux] New registered File Watcher doesn't work correctly #5738

Open
svor opened this issue Jul 17, 2019 · 7 comments
Open

[linux] New registered File Watcher doesn't work correctly #5738

svor opened this issue Jul 17, 2019 · 7 comments
Labels
bug bugs found in the application file-watchers issues related to filesystem watchers - nsfw filesystem issues related to the filesystem OS/Linux issues related to the Linux OS

Comments

@svor
Copy link
Contributor

svor commented Jul 17, 2019

Description

I've created new FileSystemWatcher in the next way:

    const csprojPattern = '**/*.*';
    const csprojWatcher = theia.workspace.createFileSystemWatcher(csprojPattern, false, true, true);
    csprojWatcher.onDidCreate(url => {
        outputChannel.appendLine('*********File created:  ' + url);
        //restoreProject(url, outputChannel);
    });

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

  1. Download this plug-in which creates new file watcher to catch all created files:
    file-watcher.zip
  2. Extract and put file-watcher/file_watcher.theia into theia/plugins folder and run theia
  3. Open an empty workspace and clone https://github.com/gothinkster/aspnetcore-realworld-example-app
  4. Open output view with name logs
  5. path_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

@svor svor added the plug-in system issues related to the plug-in system label Jul 17, 2019
@akosyakov akosyakov added the bug bugs found in the application label Jul 17, 2019
@kittaakos
Copy link
Contributor

Works for me.

Here are a few remarks on the steps you provided:

  • The plug-in is called file-watcher, not file_watcher.theia.
  • node_modules was missing so I had to build it first. I ran yarn.
  • To be able to build, I had to add "skipLibCheck": true to the tsconfig.json.
  • With one of the recent changes we made on the 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

Screen Shot 2019-07-18 at 15 17 07

I am going to close this as INVALID. Feel free to reopen.

@svor
Copy link
Contributor Author

svor commented Jul 18, 2019

@kittaakos thanks, I'll double check it on my side

@svor
Copy link
Contributor Author

svor commented Jul 19, 2019

@kittaakos
It is still reproducible for me:

Output -> logs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/.git
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/.git/hooks/pre-rebase.sample
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/.git/hooks/prepare-commit-msg.sample
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/.git/hooks/pre-applypatch.sample
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/.git/hooks/applypatch-msg.sample
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/.git/hooks/pre-push.sample
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/.git/hooks/update.sample
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/.git/hooks/pre-receive.sample
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/.git/hooks/pre-commit.sample
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/.git/hooks/commit-msg.sample
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/.git/hooks/post-update.sample
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/.circleci
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/.circleci/config.yml
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/.dockerignore
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/.gitignore
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/Conduit.sln
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/build.cake
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/docker-compose.yml
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/logo.png
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/readme.md
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Articles/Edit.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Articles/List.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Comments/CommentsController.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Comments/CommentsEnvelope.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Comments/Create.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Comments/Delete.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Comments/List.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Favorites/Delete.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Favorites/FavoritesController.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Followers/Delete.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Followers/FollowersController.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Profiles/IProfileReader.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Profiles/MappingProfile.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Profiles/Profile.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Profiles/ProfileEnvelope.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Profiles/ProfileReader.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Profiles/ProfilesController.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Tags/TagsController.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Tags/TagsEnvelope.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Users/Details.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Users/Edit.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Users/Login.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Users/MappingProfile.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Users/User.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Users/UserController.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Users/UsersController.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/CurrentUserAccessor.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/DBContextTransactionPipelineBehavior.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/Errors/ErrorHandlingMiddleware.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/Errors/RestException.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/GroupByApiRootConvention.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/ICurrentUserAccessor.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/Security/IPasswordHasher.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/Security/JwtIssuerOptions.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/Security/JwtTokenGenerator.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/Security/PasswordHasher.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/Slug.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/ValidationPipelineBehavior.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Infrastructure/ValidatorActionFilter.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Program.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Resources/Infrastructure.Errors.ErrorHandlingMiddleware.resx
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Startup.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/StartupExtensions.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/Features/Articles/CreateTests.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/Features/Articles/DeleteTests.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/Features/Articles/EditTests.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/Features/Users/LoginTests.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/Features/Users/UserHelpers.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/SliceFixture.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/tests/Conduit.IntegrationTests/StubCurrentUserAccessor.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Domain/ArticleFavorite.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Domain/ArticleTag.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Domain/Comment.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Domain/FollowedPeople.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Domain/Person.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Domain/Tag.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Articles/ArticleExtensions.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Articles/ArticlesController.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Articles/ArticlesEnvelope.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Articles/Create.cs
*********File created:  file:///home/vsvydenko/tmp/test2/aspnetcore-realworld-example-app/src/Conduit/Features/Articles/Delete.cs
*********File created:  file:///home/vsvydenko/tmp/test2/Untitled.txt

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 ?

@kittaakos
Copy link
Contributor

I've tested this use case on another Linux machine and got the same result.

#2566?

@kittaakos kittaakos reopened this Jul 19, 2019
@kittaakos kittaakos added OS/Linux issues related to the Linux OS filesystem issues related to the filesystem and removed plug-in system issues related to the plug-in system labels Jul 19, 2019
@kittaakos kittaakos changed the title New registered File Watcher doesn't work corectly [linux] New registered File Watcher doesn't work correctly Jul 19, 2019
@kittaakos
Copy link
Contributor

@svor, I have updated the title and labels, feel free to edit.

@svor
Copy link
Contributor Author

svor commented Jul 19, 2019

I've just updated the description:

  • added OS version
  • updated file-watcher plugin by adding activationEvents

@tsmaeder
Copy link
Contributor

Appearently, this is caused by Axosoft/nsfw#60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application file-watchers issues related to filesystem watchers - nsfw filesystem issues related to the filesystem OS/Linux issues related to the Linux OS
Projects
None yet
Development

No branches or pull requests

4 participants