{"action":"created","issue":{"url":"https://api.github.com/repos/docker/for-mac/issues/681","repository_url":"https://api.github.com/repos/docker/for-mac","labels_url":"https://api.github.com/repos/docker/for-mac/issues/681/labels{/name}","comments_url":"https://api.github.com/repos/docker/for-mac/issues/681/comments","events_url":"https://api.github.com/repos/docker/for-mac/issues/681/events","html_url":"https://github.com/docker/for-mac/issues/681","id":178133200,"number":681,"title":"1.12.1 inotify events not detected by webpack dev server in watch mode","user":{"login":"genei09","id":3915808,"avatar_url":"https://avatars.githubusercontent.com/u/3915808?v=3","gravatar_id":"","url":"https://api.github.com/users/genei09","html_url":"https://github.com/genei09","followers_url":"https://api.github.com/users/genei09/followers","following_url":"https://api.github.com/users/genei09/following{/other_user}","gists_url":"https://api.github.com/users/genei09/gists{/gist_id}","starred_url":"https://api.github.com/users/genei09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genei09/subscriptions","organizations_url":"https://api.github.com/users/genei09/orgs","repos_url":"https://api.github.com/users/genei09/repos","events_url":"https://api.github.com/users/genei09/events{/privacy}","received_events_url":"https://api.github.com/users/genei09/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/for-mac/labels/area/mounts","name":"area/mounts","color":"fbca04"},{"url":"https://api.github.com/repos/docker/for-mac/labels/kind/bug","name":"kind/bug","color":"FF8C94"},{"url":"https://api.github.com/repos/docker/for-mac/labels/osx/10.11.x","name":"osx/10.11.x","color":"d4c5f9"},{"url":"https://api.github.com/repos/docker/for-mac/labels/status/0-more-info-needed","name":"status/0-more-info-needed","color":"b60205"},{"url":"https://api.github.com/repos/docker/for-mac/labels/status/0-triage","name":"status/0-triage","color":"bfd4f2"},{"url":"https://api.github.com/repos/docker/for-mac/labels/version/1.12.1","name":"version/1.12.1","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2016-09-20T18:08:06Z","updated_at":"2016-10-16T14:32:45Z","closed_at":null,"body":"### Expected behavior\r\nchanges to OSx filesystem are picked up by the webpack process\r\n\r\n### Actual behavior\r\nEven though the files are changed, no change is detected\r\nUsing the same docker image in Dinghy produces the expected results\r\n\r\n### Information\r\n```\r\n  - Full output of the diagnostics from \"Diagnose & Feedback\" in the menu\r\nDocker for Mac: version: 1.12.1 (2d5b4d9)\r\nOS X: version 10.11.6 (build: 15G31)\r\nlogs: /tmp/F23DDA4B-1399-4A2B-90FD-C7D873FCEDD5/20160920-140135.tar.gz\r\n[OK]     docker-cli\r\n[OK]     virtualization kern.hv_support\r\n[OK]     menubar\r\n[OK]     moby-syslog\r\n[OK]     dns\r\n[OK]     disk\r\n[OK]     system\r\n[OK]     app\r\n[OK]     osxfs\r\n[OK]     virtualization VT-X\r\n[OK]     db\r\n[OK]     slirp\r\n[OK]     logs\r\n[OK]     env\r\n[OK]     vmnetd\r\n[OK]     moby-console\r\n[OK]     moby\r\n[OK]     driver.amd64-linux\r\n```\r\n\r\n### Steps to reproduce the behavior\r\n\r\nDockerfile:\r\n```\r\nFROM qajenkins.windsorcircle.com/centos:7\r\n\r\nENV PGTZ=UTC\r\nVOLUME /tmp\r\nRun yum -y update; yum clean all &&\\\r\n yum -y install tkinter openjpeg2-devel openjpeg2 libtiff-devel freetype-devel lcms2-devel libwebp-devel libwebp-tools &&\\\r\n yum -y install logwatch sendmail-cf sysstat patch python-pip python-devel libpqxx-devel libxml++-devel python-lxml libjpeg-devel libxslt-devel libxml2-devel libyaml-devel git bzip2 freetype fontconfig gcc gcc-c++ make tar wget epel-release sudo; yum clean all &&\\\r\n yum -y install inotify-tools &&\\\r\n yum -y reinstall glibc-common &&\\\r\n yum clean all\r\n```\r\n\r\nmake a shell script inotifyrun and mount that directory as a volume\r\nscript:\r\n```\r\n#!/bin/sh\r\nFORMAT=$(echo -e \"\\033[1;33m%w%f\\033[0m written\")\r\n\"$@\"\r\nwhile inotifywait -qre close_write --format \"$FORMAT\" .\r\ndo\r\n    \"$@\"\r\ndone\r\n```\r\nexample docker run command\r\n```\r\ndocker run -it --name test_inotify --volume ~/Repos/APP_REPOS/:/opt/APP_REPOS 634faa2f65e8 bash\r\n```\r\n\r\nrun the shell script\r\n`cd /opt/APP_REPOS`\r\n`./inotifyrun.sh tail test.log `\r\n\r\nusing VIM or other local file editor make a `test.log` file in the mounted dir and see no change\r\n\r\nstop the shell script\r\ncopy to ~/\r\nrun the same experiment but exec into the container and use VI to make/modify the file.\r\nthe changes are detected and the tail command runs.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/for-mac/issues/comments/254050354","html_url":"https://github.com/docker/for-mac/issues/681#issuecomment-254050354","issue_url":"https://api.github.com/repos/docker/for-mac/issues/681","id":254050354,"user":{"login":"genei09","id":3915808,"avatar_url":"https://avatars.githubusercontent.com/u/3915808?v=3","gravatar_id":"","url":"https://api.github.com/users/genei09","html_url":"https://github.com/genei09","followers_url":"https://api.github.com/users/genei09/followers","following_url":"https://api.github.com/users/genei09/following{/other_user}","gists_url":"https://api.github.com/users/genei09/gists{/gist_id}","starred_url":"https://api.github.com/users/genei09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genei09/subscriptions","organizations_url":"https://api.github.com/users/genei09/orgs","repos_url":"https://api.github.com/users/genei09/repos","events_url":"https://api.github.com/users/genei09/events{/privacy}","received_events_url":"https://api.github.com/users/genei09/received_events","type":"User","site_admin":false},"created_at":"2016-10-16T14:32:45Z","updated_at":"2016-10-16T14:32:45Z","body":"after rebuilding the containers the same symptom is present.  no longer able to detect modify events from outside the container, and vi only triggers modify events when close/write is used.\r\n\r\npossibly a kernel issue?"}}
{"actor":{"display_login":"genei09"}}