Giter VIP home page Giter VIP logo

elm-parp's Introduction

elm-parp

This repo can be used to reproduce a bug that manifests when using vscode-elm while running elm-test --watch.

Steps

These steps assume you have elm and elm-test available on your $PATH.

  1. clone this repo and cd into the application folder

  2. elm-test

  3. observe that the test suite is okay

  4. elm-test --watch

  5. observe that that test suite is still okay

  6. leave the watch running, and in another terminal, run this command which will touch a test file and immediatly make it:

    touch tests/TestParp.elm; elm-test make

  7. observe that it's still all okay

Now it gets good:

  1. kill the test runner

  2. cd ../package

  3. elm-test --watch

  4. observe that on the first run, test suite is still okay

  5. leave the watch running, and in another terminal, run this command which will touch a test file and immediatly make it:

    touch tests/TestParp.elm; elm-test make

  6. Boom

    EXPECTED: the test suite should re-run as above

    ACTUAL: an error from Elm about missing packages??

    TestParp.elm changed. Rebuilding!
    -- MISSING DEPENDENCIES ----------------------------------------------- elm.json
    
    Your elm.json is missing some "indirect" dependencies:
    
        "elm/url": "1.0.0"
        "elm/virtual-dom": "1.0.2"
    
    This usually means you are editing elm.json by hand. It is much more reliable to use the elm install command instead.
    
    Compilation failed while attempting to build /home/ndc/git/elm-parp/package/tests/TestParp.elm
    Watching for changes...

This simulates what happens when vscode-elm attempt to elm-test make a test file right after saving.

elm-parp's People

Contributors

n3dst4 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.