Empty js or css files being served on update or refresh

I have a strange scenario with a Drupal 8 docker setup. When I edit a js file and do a hard refresh, sometimes a soft refresh, the edited file is served empty to the browser. This isnt a Drupal caching issue. Its the first time Ive developed on Docker and have never run into this issue before on any Drupal websites. If I docker-compose stop, then docker-compose up, the file is fixed and I see the recent changes. It seems to be on random occurrences too, not every time.

Any help or direction would be much appreciated, dev is frustrating!

Here are some details of my setup, let me know if anything else would be of help. I am a docker novice FYI.

Docker version: Version 17.03.0-ce-win1 (10296)
Windows 10

docker-compose.yml

version: “2”

services:
mariadb:
image: wodby/drupal-mariadb
environment:
MYSQL_RANDOM_ROOT_PASSWORD: 1
MYSQL_DATABASE: drupal
MYSQL_USER: drupal
MYSQL_PASSWORD: drupal

command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci # The simple way to override the mariadb config.

volumes:
  - ./docker-runtime/mariadb:/var/lib/mysql

- ./docker-runtime/mariadb-init:/docker-entrypoint-initdb.d # Place init .sql file(s) here.

php:
image: wodby/drupal-php:7.0 # Allowed: 7.0, 5.6.
environment:
PHP_SITE_NAME: dev
PHP_HOST_NAME: localhost:8000

PHP_DOCROOT: public # Relative path inside the /var/www/html/ directory.

  PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S mailhog:1025
  PHP_XDEBUG_ENABLED: 0 # Set 1 to enable.
volumes:
  - ./:/var/www/html

command: composer create-project drupal-composer/drupal-project:8.x-dev /var/www/html --stability dev --no-interaction

nginx:
image: wodby/drupal-nginx
environment:
NGINX_SERVER_NAME: localhost
NGINX_UPSTREAM_NAME: php
NGINX_DOCROOT: web # Relative path inside the /var/www/html/ directory.
DRUPAL_VERSION: 8 # Allowed: 7, 8.
volumes_from:
- php
ports:
- “8000:80”

pma:
image: phpmyadmin/phpmyadmin
environment:
PMA_HOST: mariadb
PMA_USER: drupal
PMA_PASSWORD: drupal
PHP_UPLOAD_MAX_FILESIZE: 1G
PHP_MAX_INPUT_VARS: 1G
ports:
- “8001:80”

mailhog:
image: mailhog/mailhog
ports:
- “8002:8025”