Code Monkey home page Code Monkey logo

Comments (4)

dougwilson avatar dougwilson commented on June 21, 2024 1

You have to restart the server after you edited the page, most likely. But I'm not familiar with all the different options, as folks contribute them as they like and we just merge them in. You can find the documentation for the SASS middleware here: https://www.npmjs.com/package/node-sass-middleware

from generator.

dougwilson avatar dougwilson commented on June 21, 2024

The included engines do not require it to be compiled by any command is why; the middlewares will compile them on the fly as they are requested. The example page in the generated output will load up the css as an example for how to load the end result css from sass source.

from generator.

blachawk avatar blachawk commented on June 21, 2024

The included engines do not require it to be compiled by any command is why; the middlewares will compile them on the fly as they are requested. The example page in the generated output will load up the css as an example for how to load the end result css from sass source.

Here are steps I took just to help me be on the same page with you...

  • I installed the package through the terminal
  • I then ran $DEBUG=livereload:* npm start
  • I then opened up my browser window and went to http://localhost:3000. I can see the page.
  • I then went back into my project and opened up style.sass and made a modification, and saved it.
  • When I open up the style.css file it does not show the update.

What did I miss?

from generator.

blachawk avatar blachawk commented on June 21, 2024

oh, so there is no direct connection between the example sass, and the example .css file in that same directory? ok, then that makes sense. Is this process then left to me to figure out how to have them both talking to each other? or is there a setting, already provided, that I am overlooking, to make that happen?

from generator.

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.