Skip to content

Errors porting to Linux #9

@fcanela

Description

@fcanela

I am trying to port docker-compose-watch to Linux. I will document here the issues so I can track and reference them.

Dependencies

After installation, Ubuntu 18.04 misses some packages.

  • yaml2json: The package can be downloaded from the repository releases page and stored inside PATH. I read in StackOverflow that installing libghc-yaml-dev package also works but I have not tried it.
  • fswatch: A native fswatch package already exists. If your distribution does not provide it, install using Linuxbrew.
  • jq: I had it already installed via Ubuntu jq package.
  • gdate: Available via Linuxbrew

Compatibility status

It works! The only thing that worries me is some unexpected reloads caused by a file that is not being modified.

Bugs found

I will open separate issues for these bugs when I finish checking Linux compatibility

Parameters clean-up

When provided an extra "-f" parameter without value the script fails to remove it.

Unclear error when container fails to start up

The process continues until some grep fails instead of reporting that the container is not running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions