Giter Club home page Giter Club logo

watch's People

Contributors

matthewmueller avatar stephenway avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

bdo-labs

watch's Issues

Maximum call stack size exceeded

I keep running into this error when trying to watch my app directory. Specifically, I'm using the duo command duo -w -r client app.js > build.js. I think part of the problem is that the root folder also contains the components folder, increasing the 'watched' files substantially...

FYI I'm running node 0.11.13 on Yosemite dp5

path.js:0
(function (exports, require, module, __filename, __dirname) { // Copyright Joy
^
RangeError: Maximum call stack size exceeded
    at RegExp.exec (native)
    at splitPath (path.js:313:24)
    at exports.basename (path.js:465:11)
    at slug (/usr/local/lib/node_modules/duo/node_modules/duo-watch/lib/duo-watch.js:251:23)
    at find (/usr/local/lib/node_modules/duo/node_modules/duo-watch/lib/duo-watch.js:244:42)
    at Watch.manifest (/usr/local/lib/node_modules/duo/node_modules/duo-watch/lib/duo-watch.js:208:14)
    at Watch.deps (/usr/local/lib/node_modules/duo/node_modules/duo-watch/lib/duo-watch.js:101:10)
    at Watch.deps (/usr/local/lib/node_modules/duo/node_modules/duo-watch/lib/duo-watch.js:104:10)
    at Watch.deps (/usr/local/lib/node_modules/duo/node_modules/duo-watch/lib/duo-watch.js:104:10)
    at Watch.deps (/usr/local/lib/node_modules/duo/node_modules/duo-watch/lib/duo-watch.js:104:10)
    at Watch.deps (/usr/local/lib/node_modules/duo/node_modules/duo-watch/lib/duo-watch.js:104:10)

when duo fails to detect changes

List of annoyances that cause you to have to rebuild:

- type a require(...) then add the dependency to the component.json
  • Think it's because the root component.json gets cached. if you try and rebuild, I think since the file with the require hasn't been modified, it doesn't bother trying to resolve again.

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.