Code Monkey home page Code Monkey logo

laravel-elixir-browsersync-official's People

Contributors

jeffreyway avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

laravel-elixir-browsersync-official's Issues

Https support?

Hi.
what if we run project in https only?
I see the browserSync array receives 3 params
`
host,port,proxy

I tried this config
host: 'localhost', port: 3001, proxy: 'https://mydomain.dev'
It seems it reaches the page but not loading the assets(css,js,etc..)

notify: false not working

Not sure if this issue belongs here or further up, but setting notify: false in my gulpfile, or even in laravel-elixir/dist/config.js doesn't stop the notifications.

I've had this working in the past with other projects.

"laravel-elixir": "^6.0.0-11",
"laravel-elixir-browsersync-official": "^1.0.0"

Valet

Hello

Must be somethign I am missing but how do i use this with valet it always goes to port 3000?

Thanks

Allow 3rd party tasks to add to `files` config

Currently it’s only possible to add watch paths to the files config from the gulpfile.js

elixir.config.browserSync.files = [
    'app/**/*.php',
    'public/assets/css/**/*.css',
    'public/assets/js/**/*.js',
    'public/assets/build/rev-manifest.json',
    'resources/views/**/*.php',

    'craft/templates/**/*.html',
];

It would be nice if it was possible to register watch paths from tasks, e.g. version task register 'public/assets/build/rev-manifest.json'

javascript doesn't work through browsersync

I have a situation where my script works perfectly fine when running from project.dev/ while nothing happens when the site is served through localhost:3000/ and the console logs this error:

XMLHttpRequest cannot load http://project.dev/route. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 500.

The event is attached to a dynamic form (there are many in the same page): $("body").on("submit", ".dynamic-form", function (e){});

Not reloading

Hi,

Thanks for including BrowserSync into Elixir, but I'm having troubles making it work.
Here's my gulpfile:
`
const elixir = require('laravel-elixir');
require('laravel-elixir-vue');

Elixir(function(mix) {
mix
.less('myapp.less', './dist/myapp.css')
.webpack('myapp.js', './dist/myapp.js')
.copy('dist', '../../../public/myapp')
.browserSync({
proxy: 'app.myapp.app/',
logConnections: true
})
});
`

Looks like BrowserSync is running (when I click reload in the BS UI, the tab is reloaded), but when I edit any less/js file, nothing is reloaded.
Do you know why this wouldn't happen?

Thanks a lot in advance,
François

Error during installation

When I run "npm install laravel-elixir-browsersync-official --save-dev", NPM show this error:

npm ERR! Linux 4.2.0-34-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "laravel-elixir-browersync-official" "--save-dev"
npm ERR! node v6.4.0
npm ERR! npm v3.10.3
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/laravel-elixir-browersync-official
npm ERR! 404
npm ERR! 404 'laravel-elixir-browersync-official' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

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.