Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on my Archlinux #30

Open
tiye opened this issue Feb 23, 2013 · 0 comments
Open

Not working on my Archlinux #30

tiye opened this issue Feb 23, 2013 · 0 comments

Comments

@tiye
Copy link

tiye commented Feb 23, 2013

I spend several hours on it and can't make it work..
Preciously I use my own plugin which use WebSockets to reload pages.
But with grunt-reload I got this:

➤➤ grunt --version
grunt-cli v0.1.6
grunt v0.4.0
➤➤ grunt dev
Running "reload" task
Proxying http://localhost:80/
reload server running at http://localhost:6001

Running "watch" task
Waiting...

But there's not any response on http://localhost or http://localhost:8000.
I switched Nginx down while using this.
I wrote the configs just like that in the README file.
Here's my Gruntfile.coffee:

module.exports = (grunt) ->

  grunt.loadNpmTasks "grunt-contrib-coffee"
  grunt.loadNpmTasks 'grunt-contrib-watch'
  grunt.loadNpmTasks 'grunt-contrib-jade'
  grunt.loadNpmTasks 'grunt-contrib-stylus'
  grunt.loadNpmTasks 'grunt-reload'

  grunt.initConfig
    coffee:
      compile:
        files:
          "page/main.js": "action/main.coffee"
      options:
        bare: yes
        watch: yes
    jade:
      compile:
        options:
          data:
            debug: no
          pretty: yes
        files:
          "page/index.html": "layout/index.jade"
    stylus:
      compile:
        options: {}
        files:
          "page/page.css": "layout/page.styl"
    reload:
      port: 6001
      proxy:
        host: "localhost"
    watch:
      coffee:
        files: "action/*.coffee"
        tasks: "coffee"
      stylus:
        files: "layout/*styl"
        tasks: "stylus"
      jade:
        files: "layout/*.jade"
        tasks: "jade"
      reload:
        files: "page/*"
        tasks: "reload"

  grunt.registerTask "dev", ["reload", "watch"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant