Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Partials ignored on watch

See original GitHub issue


I do not know if I am doing something wrong, but my partials do not raise update on brunch watch.

Do I need to declare any rule in the brunch config ? Is this feature unsuported yet ?

Thanks for your answers.


Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

bigsweatercommented, Jul 16, 2016

Hi @Swizz,

I was having this problem as well, but this issue answers the question:


all imported .scss files, except for your single ‘manifest’ file, must be named with an underscore.

I had some additional ‘manifest’ files with a double underscore, and they weren’t being recompiled, either. My dir structure looked like this:

├── base
│   ├── __base.scss
│   ├── _animations.scss
│   ├── _embeds.scss
│   ├── _fonts.scss
// ..etc.
├── main.scss

where main.scss included __base.scss, and __base.scss included all the files in its own directory.

Using a single underscore _base.scss fixed the issue.

Swizzcommented, Jun 13, 2016

Ow ! I have never used partials by this way.

But this does not work more. (Read : at the same way as before)

@import "aSassFramework\main";

@import "partial_one";
@import "partial_two";
@import "partial_three";

And I can not use files as individual ones due to variables and mixins imports.

Thank you for your time.

Here, the brunch-config.js

module.exports = {
  // See for documentation.
  files: {
    javascripts: {
      joinTo: {
        'app.js': /^app/,
        'vendor.js': /^(bower_components|vendor)/
    stylesheets: {
      joinTo: {
        'app.css': /^app/,
        'vendor.css': /^(bower_components|vendor)/
    templates: {joinTo: 'app.js'}
  plugins: {
    sass: {
      mode: 'native',
      options: {
        includePaths: ['bower_components']
    assetsmanager: {
      copyTo: {
        '.' : ['bower_components/**/font/*.ttf']
Read more comments on GitHub >

github_iconTop Results From Across the Web

macos - sass --watch is not watching partials - Stack Overflow
I seem not to be able to make sass watch changes in my partials, so it is only when I make changes to...
Read more >
Working with partials | Sass and Compass Designer's Cookbook
Partials are special Sass files that can be imported in your project, ... Compass compiles all the files in the Sass folder, but...
Read more >
blocks defined within "include" partial file ignored by extend
Here is my use case I have a file that pulls pieces together (holy-grail.njs) that then is extended by the actual page I...
Read more >
Watch and Serve — Eleventy
gitignore. Eleventy will ignore files or folders listed in your . gitignore file by default, unless setUseGitIgnore is turned off.
Read more >
Dart Sass Command-Line Interface
When compiling whole directories, Sass will ignore partial files whose names ... When it's disabled, the --update flag and --watch flag will delete...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found