These are chat archives for jescalan/roots

29th
Dec 2015
Seth Krasnianski
@sethkrasnianski
Dec 29 2015 00:05
when you write a view file or css file, does it trip the compiler again?
or does it fail to watch anything again?
Eugen Kraft
@webcultist
Dec 29 2015 00:11
it's just still stuck
does not continue to compile
Seth Krasnianski
@sethkrasnianski
Dec 29 2015 00:11
so another compiling… line doesn’t output to the logs?
Eugen Kraft
@webcultist
Dec 29 2015 00:13
nope
it just keeps that state
Seth Krasnianski
@sethkrasnianski
Dec 29 2015 00:13
what version of roots are you running?
Eugen Kraft
@webcultist
Dec 29 2015 00:14
$ roots -v
3.1.0
Seth Krasnianski
@sethkrasnianski
Dec 29 2015 00:25
all you’re doing is throwing whatever.min.js into assets/js/vendor?
what does your app.coffee look like?
Mathias Biilmann
@biilmann
Dec 29 2015 00:26
What is you run
What if you run: roots compile
Instead of roots watch
Seth Krasnianski
@sethkrasnianski
Dec 29 2015 00:27
it’s working the first pass, so roots compile should work
it’s watching that’s not working
Eugen Kraft
@webcultist
Dec 29 2015 00:36
about your question: in the vendor folders are different typs of files. I normally just use the whole downloaded library and just reference the important files.
roots compile semms to work
seems
what would normally be the correct folder for that sort of files? General not compilable files?
Seth Krasnianski
@sethkrasnianski
Dec 29 2015 00:40
can you paste your app.coffee?
it would help the debugging process immensely
Eugen Kraft
@webcultist
Dec 29 2015 00:42
sure
This message was deleted
Seth Krasnianski
@sethkrasnianski
Dec 29 2015 00:45
whoa
can you wrap it in tripple back ticks?
This message was deleted
three in a row, cmd + enter, paste code
cmd+ enter again, then three more in a row
Screen Shot 2015-12-28 at 7.47.46 PM.png
Eugen Kraft
@webcultist
Dec 29 2015 00:48
````
damn :D
sorry, I'm new to gitter
Seth Krasnianski
@sethkrasnianski
Dec 29 2015 00:48
heh
one less ;)
it’s ok
similar to slack if you’ve ever used it
Eugen Kraft
@webcultist
Dec 29 2015 00:49
axis            = require 'axis'
rupture         = require 'rupture'
autoprefixer    = require 'autoprefixer-stylus'
js_pipeline     = require 'js-pipeline'
css_pipeline    = require 'css-pipeline'
#collections    = require 'roots-collections'
roots_config    = require 'roots-config'
dynamic_content = require 'dynamic-content'
roots_yaml      = require 'roots-yaml'


module.exports =
  ignores: ['readme.md', '**/layout.*', 'partial/**/*.swig', '**/_*', '.gitignore', 'ship.*conf']

  extensions: [
    js_pipeline(files: 'assets/js/*.coffee'),
#    css_pipeline(files: 'assets/css/*.styl')
    css_pipeline(files: 'assets/css/*.scss'),
#    roots_config(),
#    dynamic_content()
#    collections(folder: 'views', layout: 'structure')
  ]

#  stylus:
#    use: [axis(), rupture(), autoprefixer()]
#    sourcemap: true

  'coffee-script':
    sourcemap: true

  jade:
    pretty: true
Seth Krasnianski
@sethkrasnianski
Dec 29 2015 00:49
perfect
also
can you cd into assets/vendor
and paste pwd
into chat
I suspect your vendor structure is what’s causing the watcher to hang up
Eugen Kraft
@webcultist
Dec 29 2015 00:50
(the original structure comes from here: https://github.com/michaelkornblum/juice-bar btw.)
/Users/username/Sites/rinn/dev-roots/roots/assets/vendor
dev-roots is the folder of the juice-bar repository
Seth Krasnianski
@sethkrasnianski
Dec 29 2015 00:58
so you’re using this with gulp? or are you only mimicking the roots directory structure?
Eugen Kraft
@webcultist
Dec 29 2015 00:59
generally I want to use it with gulp, but there are not much debug output when using gulp, so currently I use just basic roots from the roots folder without gulp
Seth Krasnianski
@sethkrasnianski
Dec 29 2015 01:01
and roots is correctly copying the contents of assets over to public?
the vendor directory is in public with the appropriate directories / files?
Eugen Kraft
@webcultist
Dec 29 2015 01:16
didn't check in deep but the files seem correct
Eugen Kraft
@webcultist
Dec 29 2015 01:28
I go to bed now, halb past 2, but thanks for trying to help me ;)
Aman Mittal
@amandeepmittal
Dec 29 2015 04:20
@dbox like a blog template/theme using Jade layout and linking a CSS file?
Martin Berggren
@marthings
Dec 29 2015 12:06
@webcultist @sethkrasnianski i think i have the same issues with some bower components. I wanted to try foundation "motion-ui" but the watcher just stops at compiling...(just by having motion-ui in the bower folder) If i removed "motion-ui" it worked again. The bower_components at the root of the project though, not in assets. I have no clue what the problem could be but i'm interested in solving this :)
Eugen Kraft
@webcultist
Dec 29 2015 12:35
Yes, as mentioned above I generally would be interested in the correct way handling files that are not relevant for compiling, but should be placed in folder. @marthings I tried both, in the root folder and in the assetsfolder - no difference.
Henry Snopek
@hhsnopek
Dec 29 2015 23:04
@marthings the test folder is incase you're doing some tests on the client side :)