It turns out Flask only considers `development` as the development mode; `dev` (used before) is not working.