Coder Social home page Coder Social logo

Stylus issue with Express about join-io HOT 4 CLOSED

coderaiser avatar coderaiser commented on June 4, 2024
Stylus issue with Express

from join-io.

Comments (4)

coderaiser avatar coderaiser commented on June 4, 2024

join-io uses minify for minification when you set flag minify: true. CSS files minify every time they changed. Tomas used for saving results in tmp directory.

Is there some problem with cache?

from join-io.

azappa avatar azappa commented on June 4, 2024

I'm monitoring app with nodemon, so everytime I change something in a *.styl file it restarts (and theorically building *.styl files into *.css)

"scripts": {
    "start": "node app.js",
    "dev": "./node_modules/.bin/nodemon -e js,styl,jade app.js"
  },

But join won't refresh them anymore (like I said before I have to see compiled .css file into a new tab and refresh the site to see the changes).
In my app I compile css files into the same directory of .styl ones and I didn't set any type of cache...

For the moment I'm using join-io only for js files into one req.

from join-io.

coderaiser avatar coderaiser commented on June 4, 2024

You could try to set minify: false no cache should be produced in this case.

from join-io.

coderaiser avatar coderaiser commented on June 4, 2024

Closed due to long time of inactivity.

from join-io.

Related Issues (4)

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.