Code Monkey home page Code Monkey logo

Comments (8)

passcod avatar passcod commented on May 18, 2024

Does this still happen with 4.0.3? I fixed something related.

from cargo-watch.

nepp2 avatar nepp2 commented on May 18, 2024

Yes, just tested, it does.

from cargo-watch.

passcod avatar passcod commented on May 18, 2024

Can you run with RUST_LOG=cargo_watch=debug and give the log for a run that exhibits the behaviour? When you have time :)

from cargo-watch.

dten avatar dten commented on May 18, 2024

I also get this

error: Could not compile `harvest-thing`.

To learn more, run the command again with --verbose.
[Finished running]
DEBUG:cargo_watch::schedule: path changed: C:\Users\DavidHewson\Documents\Repositories\TeamRocket\harvest-thing\app\src\main\harvest-thing\target\debug\build\backtrace-3d4946c28f21721b\build-script-build.exe
INFO:cargo_watch::filter: Filtering: "C:\\Users\\DavidHewson\\Documents\\Repositories\\TeamRocket\\harvest-thing\\app\\src\\main\\harvest-thing\\target\\debug\\build\\backtrace-3d4946c28f21721b\\build-script-build.exe"
DEBUG:cargo_watch::filter: Match data for file "C:\\Users\\DavidHewson\\Documents\\Repositories\\TeamRocket\\harvest-thing\\app\\src\\main\\harvest-thing\\target\\debug\\build\\backtrace-3d4946c28f21721b\\build-script-build.exe": None
DEBUG:cargo_watch::schedule: Found a duct handle, checking if it's still running

INFO:cargo_watch::schedule: Starting job: Expression(Then(Expression(Io(Unchecked, Expression(Then(Expression(Sh("echo [Running \'cargo check\']")), Expression(Sh("cargo check")))))), Expression(Sh("echo [Finished running]"))))
DEBUG:cargo_watch::schedule: path changed: C:\Users\DavidHewson\Documents\Repositories\TeamRocket\harvest-thing\app\src\main\harvest-thing\target\debug\build\backtrace-3d4946c28f21721b
INFO:cargo_watch::filter: Filtering: "C:\\Users\\DavidHewson\\Documents\\Repositories\\TeamRocket\\harvest-thing\\app\\src\\main\\harvest-thing\\target\\debug\\build\\backtrace-3d4946c28f21721b"
DEBUG:cargo_watch::filter: Decided that "C:\\Users\\DavidHewson\\Documents\\Repositories\\TeamRocket\\harvest-thing\\app\\src\\main\\harvest-thing\\target\\debug\\build\\backtrace-3d4946c28f21721b" was a folder
DEBUG:cargo_watch::filter: Match data for file "C:\\Users\\DavidHewson\\Documents\\Repositories\\TeamRocket\\harvest-thing\\app\\src\\main\\harvest-thing\\target\\debug\\build\\backtrace-3d4946c28f21721b": None
DEBUG:cargo_watch::schedule: Found a duct handle, checking if it's still running
[Killing running command]
INFO:cargo_watch::schedule: Waiting on the kill

INFO:cargo_watch::schedule: Starting job: Expression(Then(Expression(Io(Unchecked, Expression(Then(Expression(Sh("echo [Running \'cargo check\']")), Expression(Sh("cargo check")))))), Expression(Sh("echo [Finished running]"))))
DEBUG:cargo_watch::schedule: path changed: C:\Users\DavidHewson\Documents\Repositories\TeamRocket\harvest-thing\app\src\main\harvest-thing\target\debug\build\hyper-7d9785407b686b5a\build-script-build.exe
INFO:cargo_watch::filter: Filtering: "C:\\Users\\DavidHewson\\Documents\\Repositories\\TeamRocket\\harvest-thing\\app\\src\\main\\harvest-thing\\target\\debug\\build\\hyper-7d9785407b686b5a\\build-script-build.exe"
DEBUG:cargo_watch::filter: Match data for file "C:\\Users\\DavidHewson\\Documents\\Repositories\\TeamRocket\\harvest-thing\\app\\src\\main\\harvest-thing\\target\\debug\\build\\hyper-7d9785407b686b5a\\build-script-build.exe": None
DEBUG:cargo_watch::schedule: Found a duct handle, checking if it's still running
[Killing running command]
[Running 'cargo check']
INFO:cargo_watch::schedule: Waiting on the kill

here's what it says between each rebuild.
edit: actually i think mine is just similar
edit2: cargo watch --ignore target works fine

from cargo-watch.

passcod avatar passcod commented on May 18, 2024

@dten Yours is probably the same cause, i.e. the default ignore patterns don't match properly on Windows.

from cargo-watch.

passcod avatar passcod commented on May 18, 2024

This will be fixed in the next release.

from cargo-watch.

passcod avatar passcod commented on May 18, 2024

Done in 5.0.0.

from cargo-watch.

dten avatar dten commented on May 18, 2024

Thanks

from cargo-watch.

Related Issues (20)

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.