Problem with JS file on NodeJS server

0

I have a NodeJS server running on localhost, specifically that of the NPM package called http-server, the problem is that I'm running a js script, and I'm testing and recharging, the problem is that I have to turn the server off and on to show me the new changes I made, my JS file is simple, just practice, it's this

console.log("Worksssss")

// document.cookie = "nombre=Jose"

var cookies = document.cookie

console.log(cookies)
    
asked by darioxlz 17.08.2018 в 22:23
source

1 answer

0

The problem was the Chrome browser, I tried Edge and the problem was solved

    
answered by 18.08.2018 / 03:03
source