Skip to content
This repository has been archived by the owner on Aug 2, 2018. It is now read-only.

Keep watching after compiling errors #460

Open
lucasmotta opened this issue Apr 24, 2015 · 3 comments
Open

Keep watching after compiling errors #460

lucasmotta opened this issue Apr 24, 2015 · 3 comments

Comments

@lucasmotta
Copy link

Right now if there's any errors on the compiler, the entire build will crash and stop. Is there any way to keep the watch task running even after errors?
Something similar to watchify would be perfect, so you don't have to re-run the watch command whenever you break something.

This is the command I'm using at the moment:

duo -w -u duo-ractive -r source/js app.js -o ../../public/js
@jruddell
Copy link

I was having this issue and a few watch issues... so I pulled in a different repository to do the watching for me.. its worked perfectly! It watches all your files, prints out errors and continues to watch / call the duo build when there are errors, incase you want to try it out. Sane Docs

@matthewmueller
Copy link
Contributor

Oh that's what we're using actually. It looks like it's been updated recently. Here's where we do the watching now: https://github.com/duojs/watch/blob/master/package.json#L14

@lucasmotta
Copy link
Author

Yeah @johnruddell, I'm doing this at the moment, but the build is not as fast, because none of the files get cached on the new build :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants