James Salter Profile picture
Engineering Manager @stripe. Formerly @element_hq, @memrise.
Sep 1, 2019 7 tweets 2 min read
1/ #Django will use watchman to do autoreload if it's installed since 2.2. The default reloader runs stat on all the files in your project once per second, whereas watchman will use os file system events, which is much more efficient. 2/ I never cared about this until I spent an afternoon figuring out why Docker for Mac's hyperkit process sits on 120% - 150% cpu use while running my mid sized django project in a container.