Giter Site home page Giter Site logo

Comments (6)

nateps avatar nateps commented on May 23, 2024

Interesting. Are you seeing anything logged to your console when you save a .html or .js file? When you save a .html file, a big packet should be written out with all the new templates in it. When you save a .js file, the server should automatically restart.

What OS and version of Node are you running?

from derby.

uipoet avatar uipoet commented on May 23, 2024

Nothing is being logged to my console after saving a .html or .js file. Something else: Without defining NODE_ENV=development in my .bash_profile, Derby outputs: Starting cluster with 1 workers in undefined mode. I expected it to default to development.

Mac OS X 10.7.3 and Node.js 0.6.14.

from derby.

nateps avatar nateps commented on May 23, 2024

Are you using the default directory structure? The watch code only looks in the root directory of your project.

On line 128 of derby/lib/files.js, try logging the value of dir and type. Do you see the root directory of your project being logged as dir?

from derby.

uipoet avatar uipoet commented on May 23, 2024

Ok, then this is caused on my end. I am religiously opposed to abbreviations and renamed every instance of app to application. I'm ok closing this issue as user error, though would prefer to have the watch code be configurable somehow.

from derby.

uipoet avatar uipoet commented on May 23, 2024

I still had issues until 0.3.0. I'm happy to report all works now as expected.

from derby.

nateps avatar nateps commented on May 23, 2024

Sweet! Glad it got fixed.

from derby.

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.